Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Hiding the Boolean Operator Drop-Down Lists for Advanced Searches

    Out of the box, the boolean operator drop-down lists appears next to each search criteria row on the Advanced Search page. You can disable the drop-down list by changing your localized CSS file.
    The Advanced Precision Operators code table allows you to modify the display values for each of the boolean operators. For more information, see the Primo Back Office Guide.
    The following figure shows the boolean operator on the Advanced Search page:
    Boolean Operator Drop-Down List on Advanced Search Page
    To hide the boolean operator drop-down lists on the Advanced Search page:
    1. Log on to the Back Office server as the primo user.
      Instead of accessing the server directly (as shown in steps 1 and 2), it is recommended to use the File Uploader utility (see The File Uploader Tool) to manage and publish CSS changes to the Primo Front End UI.
    2. Enter the following commands to access and open the CSS file that is used to customize your view:
      fe_web
      cd css
      vi <custom_CSS>.css
      It is not recommended to modify the default Primo CSS, which can be overwritten during updates. For more information regarding the customization of Primo views, see the Primo Technical Guide.
    3. Add the following line to your localized CSS file:
      #exlidAdvancedSearchRibbon div.EXLAdvancedSearchFormRow fieldset span.EXLBooleanOperatorInput {display:none;}
    4. Save the changes to the CSS file.
    5. On the Primo Home > Deploy All page, select all options and click Deploy.