Koha-clms/acqui
Kyle M Hall 7226f8ced3 Bug 12323 [SIGNED OFF] - Acquisitions search results fixed in order of biblionumber
The acquisitions search is exhibiting the same behavior as bug 11410.
Results are always fixed in order of biblionumber, among other possible
issues ( including the ampersand issue ).

Test Plan:
1) From an open basket, choose "Add to basket"
2) Run a search for "From an existing record"
3) Note the "View MARC" URLs are fixed in order of biblionumber
4) Apply this patch
5) Refresh the page
6) Note the results are no longer fixed in order of biblionumber

Signed-off-by: David Cook <dcook@prosentient.com.au>

Works as described.

I think the code could be a bit tidier, but I think it makes sense to
use buildQuery here. It'll detect CCL, CQL, and PQF queries, as well
as parsing a regular keyword search as one would expect when searching
the catalogue.

It also has the added bonus of performing relevance searching,
so long as QueryAutoTruncation is off, and so long as library staff
avoid using the "*" truncation wildcard (see bug 12430).

While there are simpler ways to fix this acq bug, I think this was
probably the best move, as it adds a bit to the consistency of what
librarians can expect from their search results.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Same result with and without the patch but I agree with the changes.
BuildQuery should be called before SimpleSearch if QP is not used.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit dc5b944863)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2015-02-14 20:22:47 +13:00
..
pdfformat Bug 12979: Fix error on layout3pagesfr 2014-11-07 15:03:36 -03:00
acqui-home.pl Bug 12979: Price formatting should only be defined at one place 2014-11-07 15:03:30 -03:00
addorder.pl Bug 12841: aqorders fields should not be mapped 2014-12-04 08:57:54 +13:00
addorderiso2709.pl Bug 12979: Price formatting should only be defined at one place 2014-11-07 15:03:30 -03:00
ajax-getauthvaluedropbox.pl Bug 766: (follow-up) point acqui/ajax-getauthvaluedropbox.pl at the new location of GetAuthvalueDropbox 2014-05-04 23:11:31 +00:00
aqbasketuser_search.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
basket.pl Bug 12493: moving the subroutines GetContract and GetContracts from C4::Acquisition.pm to C4::Contract.pm 2014-07-30 10:40:06 -03:00
basketgroup.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
basketheader.pl Bug 12493: moving the subroutines GetContract and GetContracts from C4::Acquisition.pm to C4::Contract.pm 2014-07-30 10:40:06 -03:00
booksellers.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
cancelorder.pl Bug 7162: Factorize code for order cancellation (QA fixes) 2014-10-30 00:44:16 -03:00
check_budget_total.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
check_duplicate_barcode_ajax.pl Bug 6963: Corrects a problem when a new order is created with a duplicate barcode. 2011-11-04 10:22:28 +01:00
check_uniqueness.pl Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
currency.pl Fix FSF address in directory acqui/ 2010-03-16 20:17:51 -04:00
finishreceive.pl Bug 12830: Move the order-related code into Koha::Acquisition::Order 2014-10-28 11:10:36 -03:00
histsearch.pl Bug 12980: GetHistory does useless processing 2014-12-04 09:02:49 +13:00
invoice-files.pl Bug 3050 - Add an option to upload scanned invoices #1/3 2014-05-25 21:14:00 +00:00
invoice.pl Bug 12619 - Shipment date gets lost on finishing and/or editing the invoice 2014-08-05 20:40:51 -03:00
invoices.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
lateorders-export.pl Bug 7298: (follow-up) various QA fixes 2013-10-31 15:51:25 +00:00
lateorders.pl Bug 12505 - Acq claim: Show error message when no order is selected 2014-11-19 21:43:23 -03:00
modordernotes.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
neworderbiblio.pl Bug 12323 [SIGNED OFF] - Acquisitions search results fixed in order of biblionumber 2015-02-14 20:22:47 +13:00
neworderempty.pl Bug 12839: aqbooksellers.gstreg is never used 2014-12-04 08:54:42 +13:00
newordersubscription.pl Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
newordersuggestion.pl Bug 12775: Suggestions should be ordered by anyone 2014-11-21 16:13:27 -03:00
ordered.pl Bug 7735: removal of C4::Dates when unused 2012-03-20 18:11:04 +01:00
orderreceive.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
parcel.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
parcels.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
spent.pl Bug 9987: Remove DB field aqorders.biblioitemnunmber 2013-07-02 15:18:50 -07:00
supplier.pl Bug 10402 follow-up: choose contacts for claims 2014-08-26 11:45:59 -03:00
transferorder.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
uncertainprice.pl Bug 10402: Use an object for contacts 2014-08-26 11:45:42 -03:00
updatesupplier.pl Bug 10402 follow-up: choose contacts for claims 2014-08-26 11:45:59 -03:00
z3950_search.pl Bug 6536: Include SRU searching in Breeding.pm 2014-09-01 10:09:07 -03:00