]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 23 Apr 2014 16:31:29 +0000 (18:31 +0200)
commitf13d33b26de2654524ef1ac2005b138a645a6886
treed2646f164e98c3ad3fa2ce2aa178ec188627e6ac
parent2d697ec0ca32d9076cafe9a119c1e84809c84243
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>
(cherry picked from commit 9cb6174653185e8ea37871245c8d25092d8e4a81)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Acquisition.pm