Bug 13084 [Master] - Mixup of columns in deletedborrowers
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 15 Oct 2014 14:35:58 +0000 (16:35 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 23 Oct 2014 13:40:53 +0000 (10:40 -0300)
commitd9e33d80c14f254f8785cda2dabfc54d427ff181
tree30a6a67983181ca6c4f319a8f9334b13070ac2ec
parentc4852dbb14e576717a477a10b95a960094ea8715
Bug 13084 [Master] - Mixup of columns in deletedborrowers

I could reproduce this problem in 3.14.4 where I wrote the patch.
Fields shifted like branchcode moved to B_phone.
Could not reproduce it for master.
But this code change seems to improve things on master too.

TEST PLAN
---------
1) Alter the order of your deletedborrowers table.
   e.g. alter table deletedborrowers change column privacy privacy int(11) after city;
2) Apply the 3.14.x test patch.
3) prove -v t/db_dependent/Members.t
   -- Will fail on the new test.
4) Apply the 3.14.x code change patch.
5) prove -v t/db_dependent/Members.t
   -- Will succeed on the new test.
6) run koha qa test tools.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Members.pm