Homec4science

sorter: multiple tag sorting fixes

Authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch> on Oct 24 2014, 18:01.

Description

sorter: multiple tag sorting fixes

  • Fixes issue in sorting according to multiple MARC tags.
  • Fixes issue with ordering of sorted records as well as handling of unsorted records.
  • Fixes record slicing issue using 1-indexed value instead of 0-indexed value.
  • Adds generic method to decide whether to rank or sort records and changes facets to use this method.
  • Adds two configuration variables to control default sort field and order.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>

Event Timeline

Lars Holm Nielsen <lars.holm.nielsen@cern.ch> committed R3600:cf71330585e6: sorter: multiple tag sorting fixes (authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch>).Dec 4 2014, 09:36