Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
SetVersion ($DBversion);
}
+$DBversion = '3.01.00.144';
+if (C4::Context->preference('Version') < TransformToNum($DBversion)){
+ $dbh->do(qq{UPDATE systempreferences SET value='normal' where value='default' and variable='IntranetBiblioDefaultView'});
+ print "Update the 'default' to 'normal' for the IntranetBiblioDefaultView syspref (bug 5007)";
+ SetVersion ($DBversion);
+}
+
=item DropAllForeignKeys($table)
- By default, display biblio records in
- pref: IntranetBiblioDefaultView
choices:
- default: normal form.
+ normal: normal form.
marc: MARC form.
labeled_marc: Labelled MARC form
isbd: ISBD form (see below).
sub kohaversion {
- our $VERSION = '3.01.00.143';
+ our $VERSION = '3.01.00.144';
# version needs to be set this way
# so that it can be picked up by Makefile.PL