[Koha-bugs] [Bug 18235] Elastic search - Configurable facets

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 1 08:29:32 CET 2019


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

--- Comment #50 from Josef Moravec <josef.moravec at gmail.com> ---
Comment on attachment 85214
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85214
Bug 18235: DB changes

Review of attachment 85214:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18235&attachment=85214)
-----------------------------------------------------------------

:::
installer/data/mysql/atomicupdate/bug_18235-add-search_field-facet_order.sql
@@ +1,1 @@
> +ALTER TABLE search_field ADD COLUMN facet_order TINYINT(4) DEFAULT '0' AFTER weight;

Here is default 0

::: installer/data/mysql/kohastructure.sql
@@ +1493,4 @@
>    `label` varchar(255) NOT NULL COMMENT 'the human readable name of the field, for display',
>    `type` ENUM('', 'string', 'date', 'number', 'boolean', 'sum', 'isbn', 'stdno') NOT NULL COMMENT 'what type of data this holds, relevant when storing it in the search engine',
>    `weight` decimal(5,2) DEFAULT NULL,
> +  `facet_order` TINYINT(4) DEFAULT NULL COMMENT 'the order place of the field in facet list if faceted',

And here NULL

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list