Browse Source

Bug 18235: Update facet_order default value in atomic update

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Jonathan Druart 3 years ago
committed by Nick Clemens
parent
commit
5170880f7a
  1. 2
      installer/data/mysql/atomicupdate/bug_18235-add-search_field-facet_order.sql

2
installer/data/mysql/atomicupdate/bug_18235-add-search_field-facet_order.sql

@ -1,4 +1,4 @@
ALTER TABLE search_field ADD COLUMN facet_order TINYINT(4) DEFAULT '0' AFTER weight;
ALTER TABLE search_field ADD COLUMN facet_order TINYINT(4) DEFAULT NULL AFTER weight;
UPDATE search_field SET facet_order=1 WHERE name='author';
UPDATE search_field SET facet_order=2 WHERE name='itype';
UPDATE search_field SET facet_order=3 WHERE name='location';

Loading…
Cancel
Save