Bug 22524: Fix date/time-last-modified search with Elasticsearch
[koha.git] / installer / data / mysql / atomicupdate / bug_22524.perl
1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3     $dbh->do( "UPDATE `search_field` SET `name` = 'date-time-last-modified', `label` = 'date-time-last-modified' WHERE `name` = 'date/time-last-modified'" );
4
5     # Always end with this (adjust the bug info)
6     SetVersion( $DBversion );
7     print "Upgrade to $DBversion done (Bug 22524 - Fix date/time-last-modified search with Elasticsearch)\n";
8 }