vufind-org/vufind — pull request #131 by EreMaijala (2014-04-08 11:37:37+00:00)
Title: Voyager: Implemented support for sorting holdings according to Voyager's...

... Holdings Sort Groups.

Since Voyager's Holdings Sort Groups can be used to define the order of locations in WebVoyage, it makes sense to follow the same ordering in VuFind. I don't see any reason for not doing this, but I included a setting that allows to disable the sorting if necessary.

With this change it became necessary to do both SQL queries for getStatus too (as discussed when implementing the same for getHolding...), as a location without items (such as "Online") may have a higher priority than a location with items.