]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 5 Oct 2018 07:48:39 +0000 (08:48 +0100)
commit6427906fcccea22327db3c1d78847fed5ba9e7fb
tree03d4f2d94f21545a19cf229df74e07b4cc040620
parent0f2d80328d74c661ecd318f603a18743e3c699bb
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>
29 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/Object.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