]> git.koha-community.org Git - koha.git/commit
Bug 11549: [follow-up] Make NewOrder calculate new parent_ordernumber
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 17 Jan 2014 10:21:05 +0000 (11:21 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 23 Jan 2014 16:19:50 +0000 (16:19 +0000)
commit9cb6174653185e8ea37871245c8d25092d8e4a81
tree69239ad4bf4dfab9ed10f93fd8a62050972f2a41
parent6e861c5563ddd807088e31a11776fb49014de27e
Bug 11549: [follow-up] Make NewOrder calculate new parent_ordernumber

If parent_ordernumber is not set in NewOrder parameter, it is
automatically set to ordernumber.

This patch only avoid code duplication.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
This solution is better!

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script. Also all tests in
t/db_dependent/Acquisitions/.

Confirmed bug and that the patch fixes it.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Acquisition.pm