[Koha-bugs] [Bug 34881] Database update for bug 28854 isn't fully idempotent
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 22 11:47:50 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34881
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |m.de.rooy at rijksmuseum.nl
--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
I think this part
+ $dbh->do(qq{
+ INSERT IGNORE INTO systempreferences( `variable`, `value`,
`options`, `explanation`, `type` )
+ VALUES
+ ( 'BundleLostValue', $lost_val, '', 'Sets the LOST AV value
that represents "Missing from bundle" as a lost value', 'Free' ),
+ ( 'BundleNotLoanValue', $nfl_val, '', 'Sets the NOT_LOAN AV
value that represents "Added to bundle" as a not for loan value', 'Free')
+ });
+
+ say $out "Added new system preference 'BundleLostValue'";
+ say $out "Added new system preference 'BundleNotLoanValue'";
should not be in the if you added.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list