Bug 6510 - [REVISED] Sort by in intranet search alters search and number of hits
authorMagnus Enger <magnus@enger.priv.no>
Thu, 16 Jun 2011 11:51:58 +0000 (13:51 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 25 Jun 2011 20:23:21 +0000 (08:23 +1200)
commit9efdfa1ba2360bfec2b2d88a6a6388b2dfe77a36
tree07e16547a21cde8fcf19d2ce962afaa981fc6da0
parent218a35776e0e212567c15db4a486969debd67859
Bug 6510 - [REVISED] Sort by in intranet search alters search and number of hits

This patch uses .*? instead of .*

To test:
- In advanced search in the intranet choose Author as the search index
- Do a search for an author, check the number of hits
- Choose another value than the default from Sort by
- Check that the number of hits is the same as for the original search, once
  the hits have been re-ordered

Signed-off-by: MJ Ray <mjr@phonecoop.coop>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
catalogue/search.pl