[OPEN-ILS-GENERAL] Sorting Searches by Date Added

Dan Scott dan at coffeecode.net
Thu Feb 23 17:39:50 EST 2012


On Thu, Feb 23, 2012 at 04:01:13PM -0500, Geoff Brown wrote:
> Hi,
> 
> I am trying to construct a search url in the opac that will return new
> material by date added.  I can create a search that included published
> date of 2012 but the list doesn't seem to sort with the newest at the
> top since they are all the same year.  I was hoping to create some
> quick search links for our website pointing patrons to new material so
> if there is a better way to go about this I would love to hear what
> others are doing.

Assuming JSPAC, throw &s=create_date&sd=desc on the end of the
URL (and remove the s=pubdate&sd=desc if you were sorting by publication
date)? That will skip electronic resources, unfortunately, unless you
attach dummy copies, which is an evil evil practice.


More information about the Open-ils-general mailing list