Comment 1 for bug 1455604

Revision history for this message
Galen Charlton (gmc) wrote :

Thanks! When you get your Git setup sorted and prepare a patch, I have a suggestion for the database update: have it change the global flag value only if its current value is the original seed data value. In other words, don't change if if the user has already set it to a different value:

UPDATE config.global_flag SET value = '{"title": "^(?i)(a|the|an)\\s"}'
WHERE name = 'opac.browse.warnable_regexp_per_class'
AND value <> '{"title": "^(a|the|an)\\s"}';