EPrints Technical Mailing List Archive

Message: #05543


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Order the result of two lists


Does anybody has experiance with the order-option while generating lists? I'm building two lists, combine them, and want to see a date-sorted result.

- AND works: $result  = $result1->intersect( $result2 , "-date" );
- OR does not sort correctly: $result  = $result1->union( $result2 , "-date" );
- NOT does not sort correctly:   $result  = $result1->remainder( $result2 , "-date" );

A reorder() is too slow for big lists.

Any help is welcome
 Jens


--
Jens Vieler
Informatikdienste
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler@id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch