@@ -, +, @@ descriptions in accountlines - Make sure you create some Reserve Charges prior to applying this patch set - Verify they show in staff and OPAC account - Apply patch - Run database update - Verfy the "Rental Charge - " is gone and old and new entries match now --- installer/data/mysql/atomicupdate/bug_12166_reserve_charge.pl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_12166_reserve_charge.pl --- a/installer/data/mysql/atomicupdate/bug_12166_reserve_charge.pl +++ a/installer/data/mysql/atomicupdate/bug_12166_reserve_charge.pl @@ -0,0 +1,6 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do("UPDATE accountlines SET description = REPLACE(description, 'Reserve Charge - ', '') WHERE description LIKE 'Reserve Charge - %'"); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 12166 - Remove 'Reserve Charge' text from accountlines description)\n"; +} --