]> git.koha-community.org Git - koha.git/commit
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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Aug 2017 14:53:44 +0000 (11:53 -0300)
commitb5d6a1885ed4dcb650e7f9f23733b4ff9ad2b37b
treebd35e76e8229525aded4966aabb0be27c49b8a34
parentbf630b19745df8caea47669a9a76de26eddbfeee
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>
acqui/basketheader.pl
acqui/booksellers.pl
acqui/invoices.pl
acqui/transferorder.pl
serials/acqui-search-result.pl