[librecat-dev] Searching a bag backwards from last element

Nicolas Franck Nicolas.Franck at UGent.be
Wed Aug 10 09:17:16 CEST 2016


Iterating backward with a "searchable" (Solr, ElasticSearch) bag kan be done easily
by changing the sort parameter accordingly.

But there is no common support for this that fits all kinds.

________________________________________
From: librecat-dev-bounces at lists.uni-bielefeld.de <librecat-dev-bounces at lists.uni-bielefeld.de> on behalf of Michael Kapp <limodev at yulux.de>
Sent: Wednesday, August 10, 2016 9:12 AM
To: librecat-dev at lists.uni-bielefeld.de
Subject: [librecat-dev] Searching a bag backwards from last element

Hi,

ist ist possible to search/iterate through a bag backwards, e.g.
$bag->each_reverse?

If not, could someone give me a hint how to implement this, maybe with a
plugin?

Do I miss something?

Thank you & regards
Michael

_______________________________________________
librecat-dev mailing list
- send list mails to librecat-dev at lists.uni-bielefeld.de
- to unsubscribe or change options, visit https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
- project website: http://librecat.org/



More information about the librecat-dev mailing list