Eprint search advanced.pl

From EPrints Documentation
Revision as of 12:26, 28 January 2022 by Drn@ecs.soton.ac.uk (talk | contribs) (Added page about config file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

eprint_search_advanced.pl contains configuration for the advanced searchon eprint data objects, which can be found on the path /cgi/search/advanced (e.g. https://eprints.example.org/cgi/search/advanced). This configuration is stored under $c->{search}->{advanced} hash reference. This contains the following parts:

  • search_fields - The fields that the advanced search will query.
  • preamble_phrase - The HTML phrase that will appear at the top of the advanced search form explaining who to use it.
  • title_phrase - The HTML phrase title, which appears as the main heading on the advanced search page.
  • citation - The citation format for items in the results page of advanced search.
  • page_size - The number of results that should appear per page.
  • order_methods - Ordering options provided at the top of the advanced search results page.
  • default_order - The default order search results will appear for advanced search.
  • show_zero_results - Should the advanced search go to the results page if there are no results of stay on the search form page with a warning about no results.

See Also