]> git.koha-community.org Git - koha.git/commit
Bug 20074: Database revision to convert hidden to -5
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 23 Jan 2018 14:21:27 +0000 (15:21 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Feb 2018 15:11:30 +0000 (12:11 -0300)
commit08aba08a926f3956324cb66a049942f38810b525
tree43845352c18b7d2aa44ae3397d1a6e73915f333b
parent42ed26660b7c8c05a66a99a1e458f303481119dd
Bug 20074: Database revision to convert hidden to -5

The hidden value is used as a boolean in authority frameworks (in contrast
with biblio framework).
It is consistent to apply the same value (-5) to all non-zero values.

Test plan:
Check if you a have 0, 1 and 8 value in hidden somewhere.
Run the dbrev.
Verify that 1 and 8 are converted to -5.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug20074.perl [new file with mode: 0644]