]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1866406: Use carousel item order
authorMike Rylander <mrylander@gmail.com>
Fri, 23 Oct 2020 18:26:10 +0000 (14:26 -0400)
committerJason Boyer <JBoyer@EquinoxInitiative.org>
Mon, 15 Feb 2021 21:44:26 +0000 (16:44 -0500)
commit6d16c17f54441681122ff34a4304165332bb55ba
tree140119a36c4ea3173d2f4fc018f0276c47fc695a
parentfa07ca135402904129927f7afcd7fde61a0a3427
LP#1866406: Use carousel item order

Previous to this commit, the item display order for carousels was
undefined.  Now, ordering is stable and predictable.

For Newly Cataloged Item and Newest Items by Shelving Location
carousels, the order is from most recently cataloged to least
recently cataloged.

For Recently Returned Item carousels, the order is from most recently
returned to least recently returned.

For Top Circulated Items carousels, the order is from most circulated
to least circulated.

For Manual carousels (as of now, without the ability to adjust the
Position of items) it is the order they are added to the backing bucket.
Thus emptying and refilling the bucket allows reordering.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Boyer <JBoyer@EquinoxInitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm