Bug 19130: (followup) Controller scripts should preserve behaviour
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 22 Aug 2017 16:11:56 +0000 (13:11 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 29 Sep 2017 13:21:57 +0000 (15:21 +0200)
commit81a1771fc0809ea51712be69f46a3d46489e4069
tree2e2ab95715a384152e3be3a963a698d3b19b5678
parentd4e18fc7d097f7fcbbf63570f1191e1cec04a626
Bug 19130: (followup) Controller scripts should preserve behaviour

This patch is a followup to making
Koha::Acquisition::Booksellers->search work as any other Koha::Objects
(DBIC) query instead of having a different behaviour hardcoded.

To achieve it, this patch makes the controller scripts add
wildcard/truncation chars as prefix and sufix for searches, and make the
default sorting for results be by 'name', ascending.

To test:
- Just verify the behaviour remains unchanged by this patchset on the
controller scripts (re. searching).

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit b5d6a1885ed4dcb650e7f9f23733b4ff9ad2b37b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
acqui/basketheader.pl
acqui/booksellers.pl
acqui/invoices.pl
acqui/transferorder.pl
serials/acqui-search-result.pl