VuFind
  1. VuFind
  2. VUFIND-627

Hard-coded publishDate in Advanced Search code

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 2.3
    • Component/s: Search
    • Labels:
      None

      Description

      The Advanced Search code in web/services/Search/Advanced is hard-coded to look for the publishDate facet value for special date handling. This can cause problems if users choose a different field for use as a date range. We should investigate whether this can be made more generic, perhaps using the SpecialFacets/dateRange setting from facets.ini.

        Issue Links

          Activity

          Hide
          Chelsea Lobdell added a comment -
          The hard coded references are actually in /interface/themes/blueprint/Search/advanced.tpl

          - Chelsea
          Show
          Chelsea Lobdell added a comment - The hard coded references are actually in /interface/themes/blueprint/Search/advanced.tpl - Chelsea
          Hide
          Demian Katz added a comment - - edited
          We'll probably need to make some changes to both places -- the hard-coded field name in the module code is used for restoring settings when editing an existing advanced search.
          Show
          Demian Katz added a comment - - edited We'll probably need to make some changes to both places -- the hard-coded field name in the module code is used for restoring settings when editing an existing advanced search.

            People

            • Assignee:
              Demian Katz
              Reporter:
              Demian Katz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: