]> git.koha-community.org Git - koha.git/commit
Bug 11551: Allow to search on parent ordernumber in histsearch.pl
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 10 Jan 2014 14:50:34 +0000 (15:50 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 21 Apr 2014 04:23:09 +0000 (04:23 +0000)
commit65748d05b54ff16c49bc9700714bc8ee1f75fad2
treeab04e7039c28ffd7d560a7fa0107e353bfe4fcbf
parente8e0af4c37ffd17bbd19c55229b0195cc19969e0
Bug 11551: Allow to search on parent ordernumber in histsearch.pl

It is now possible to search on the order number on the order search
page.

Also searching on parent_ordernumber is possible, allowing one to
search to search children for a given order number.

Test plan:
1/ create a basket and 1 order with at least 2 items.
2/ receive partialy the order (receive only 1 item).
3/ note that a new ordernumber is created for item not received.
4/ go on the order search form and search for the original ordernumber
without checking the new checkbox "Display children too." => only 1
order (the parent) is displayed.
5/ now check the checkbox and search again => the parent order is
displayed but children too.

Signed-off-by: remy juliette <juliette.levast@iepg.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Acquisition.pm
acqui/histsearch.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt