https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38906

Nick Clemens (kidclamp) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #176659|0                           |1
        is obsolete|                            |

--- Comment #13 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 185855
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185855&action=edit
Bug 38906: Use SUBSTRING and LOCATE over REGEXP_REPLACE

To test:
1 - Check out an old version of Koha and set some columns settings for holdings
tables, or:
    UPDATE columns_settings
    SET columnname = CONCAT("holdings_",columnname)
    WHERE module = 'catalogue' AND page='detail' AND tablename =
"holdings_table";
    UPDATE columns_settings
    SET columnname = CONCAT("otherholdings_",columnname)
    WHERE module = 'catalogue' AND page = 'detail' AND tablename =
"otherholdings_table";
2 - perl -e 'use C4::Installer; my $result =
C4::Installer::run_db_rev("/kohadevbox/koha/installer/data/mysql/db_revs/240600064.pl");
warn Data::Dumper::Dumper($result)'
3 - SELECT columnname FROM columns_settings WHERE module="catalogue" AND
page="detail" AND ( tablename="holdings_table" OR
tablename="otherholdings_table");
4 - Confirm column names are correct
5 - repeat 2
6 - Confirm column names are not affected on subsequent runs (items_group does
not become group)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to