LP#1866406: Use carousel item order user/mccanna/lp1866406-carousel-item-order-signoff
authorMike Rylander <mrylander@gmail.com>
Fri, 23 Oct 2020 18:26:10 +0000 (14:26 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Tue, 9 Feb 2021 22:05:05 +0000 (17:05 -0500)
commit8d715a60fced1e7f2833862864a8a2f9c7f34ffd
tree9917593a93e2462960810562bc95b136709ad10d
parentd3f5f94579f4c11537970b1937b9e66a81fc6bae
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm