Bug 30498: Corresponding DBIx change for SearchField
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 8 Apr 2022 09:37:59 +0000 (09:37 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 13 Apr 2022 13:55:40 +0000 (15:55 +0200)
No test plan.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Schema/Result/SearchField.pm

index 9f21c5d663c092df9755caf7f6fdd1ffb09e1e6c..420e65e6728c2f99b45a80e5b29c036cfe489fa8 100644 (file)
@@ -48,7 +48,7 @@ the human readable name of the field, for display
 =head2 type
 
   data_type: 'enum'
-  extra: {list => ["","string","date","number","boolean","sum","isbn","stdno"]}
+  extra: {list => ["","string","date","number","boolean","sum","isbn","stdno","year"]}
   is_nullable: 0
 
 what type of data this holds, relevant when storing it in the search engine
@@ -98,7 +98,17 @@ __PACKAGE__->add_columns(
   {
     data_type => "enum",
     extra => {
-      list => ["", "string", "date", "number", "boolean", "sum", "isbn", "stdno"],
+      list => [
+        "",
+        "string",
+        "date",
+        "number",
+        "boolean",
+        "sum",
+        "isbn",
+        "stdno",
+        "year",
+      ],
     },
     is_nullable => 0,
   },
@@ -158,8 +168,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-10-16 14:32:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HBEJWxqos7/LzD/QzTi45Q
+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-08 09:37:38
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iWmUtCXEzX6vilFP9jdojA
 
 __PACKAGE__->add_columns(
     '+mandatory' => { is_boolean => 1 },