LP#1866406: Use carousel item order user/miker/lp-1866406-carousel-item-order
authorMike Rylander <mrylander@gmail.com>
Fri, 23 Oct 2020 18:26:10 +0000 (14:26 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 23 Oct 2020 18:26:10 +0000 (14:26 -0400)
commit9081254a4690fc9489bb4ecd39fec4b1082e5e4f
tree6ceafdd040dfef876d07f5c22e5a9ae831c88f76
parent36f7b88e4dbafad0df9b2599e5658f0ecce128f1
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm