]> git.koha-community.org Git - koha.git/commit
Bug 21133: [18.05.x] Fix use statements order
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 31 Jul 2018 18:24:10 +0000 (15:24 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 10 Oct 2018 10:39:18 +0000 (12:39 +0200)
commitf5eb412f34816cb251f621852c9ef843856f298e
tree59414aecd37cb09266ed31b1810823af5e0bb9fe
parentcf12d9ba72be3c4f41d3eb7d640e968fca129ffa
Bug 21133: [18.05.x] Fix use statements order

Basically the idea is:
1. Undefined subroutine &C4::Items::ModZebra called at /home/vagrant/kohaclone/C4/Items.pm line 302.

=> Then use C4::Items before C4::Biblio

2. Undefined subroutine &C4::Circulation::GetItem called at /home/vagrant/kohaclone/C4/Circulation.pm line 1290

=> Then use C4::Circulation before C4::Items

And sometimes these 2 rules do not work...

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 6427906fcccea22327db3c1d78847fed5ba9e7fb)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
28 files changed:
t/db_dependent/Circulation/Branch.t
t/db_dependent/Circulation/Chargelostitem.t
t/db_dependent/Circulation/CheckIfIssuedToPatron.t
t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t
t/db_dependent/Circulation/IsItemIssued.t
t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t
t/db_dependent/Circulation/Returns.t
t/db_dependent/Circulation/SwitchOnSiteCheckouts.t
t/db_dependent/Circulation/TooMany.t
t/db_dependent/Circulation/issue.t
t/db_dependent/Circulation/transfers.t
t/db_dependent/CourseReserves.t
t/db_dependent/Holds.t
t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t
t/db_dependent/Holds/LocalHoldsPriority.t
t/db_dependent/Holds/RevertWaitingStatus.t
t/db_dependent/Items.t
t/db_dependent/Items/AutomaticItemModificationByAge.t
t/db_dependent/Items/DelItem.t
t/db_dependent/Koha/Patrons.t
t/db_dependent/Labels/t_Batch.t
t/db_dependent/Members/GetAllIssues.t
t/db_dependent/Members/IssueSlip.t
t/db_dependent/Patron/Borrower_Discharge.t
t/db_dependent/Reserves.t
t/db_dependent/RotatingCollections.t
t/db_dependent/ShelfBrowser.t
t/db_dependent/api/v1/holds.t