EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05574
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Search results sorting by compound field elements
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Search results sorting by compound field elements
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Wed, 20 Apr 2016 14:27:54 +0000
Hi all, Anyone got a clue how to format the ‘custom_order’ parameter of a dataset search query to sort by sub-fields of a compound field? i.e. – running a search over the ‘user’ dataset and I want to sort the results by name_family then name_given of the compound ‘name’ field. Currently running (based on the search method from
http://wiki.eprints.org/w/API:EPrints/DataSet#Object_Methods ): $list = $ds->search( {“custom_order” => “name_given/name_family” }; But it doesn’t seem to be sorting the list at all Thanks, Alan |
- Prev by Date: Re: [EP-tech] Review Filters
- Next by Date: Re: [EP-tech] Search results sorting by compound field elements
- Previous by thread: [EP-tech] Review Filters
- Next by thread: Re: [EP-tech] Search results sorting by compound field elements
- Index(es):