Bug 10937: (QA followup) updatedatabase.pl vs. kohastructure.sql field size missmatch
authorTomas Cohen Arazi <tomascohen@theke.io>
Sat, 31 Oct 2015 13:22:25 +0000 (10:22 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Sat, 31 Oct 2015 13:29:08 +0000 (10:29 -0300)
The bug included a discussion about this field size. And it got corrected in
kohastructure.sql to match the authorized values, but the updatedabase.pl entry
was missed on hte fix.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/updatedatabase.pl

index 0f03623..bd5da18 100755 (executable)
@@ -11155,7 +11155,7 @@ if ( CheckVersion($DBversion) ) {
         ALTER TABLE itemtypes
             ADD hideinopac TINYINT(1) NOT NULL DEFAULT 0
               AFTER sip_media_type,
-            ADD searchcategory VARCHAR(20) DEFAULT NULL
+            ADD searchcategory VARCHAR(80) DEFAULT NULL
               AFTER hideinopac;
     });
     print "Upgrade to $DBversion done (Bug 10937: Option to hide and group itemtypes from advanced search)\n";