Bugzilla – Attachment 2386 Details for
Bug 5007
IntranetBiblioDefaultView preference has incorrect value for "normal"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for bug 5007
0001-bug-5007-fixing-the-syspref-for-IntranetBiblioDefau.patch (text/plain), 2.28 KB, created by
Chris Cormack
on 2010-07-19 04:25:05 UTC
(
hide
)
Description:
Fix for bug 5007
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-07-19 04:25:05 UTC
Size:
2.28 KB
patch
obsolete
>From 68bf5353042f87e476db0b8c267254971e4d68d8 Mon Sep 17 00:00:00 2001 >From: Andrew Chilton <andychilton@gmail.com> >Date: Mon, 19 Jul 2010 15:50:43 +1200 >Subject: [PATCH] bug 5007: fixing the syspref for IntranetBiblioDefaultView >Content-Type: text/plain; charset="utf-8" > >--- > installer/data/mysql/updatedatabase.pl | 7 +++++++ > .../en/modules/admin/preferences/cataloguing.pref | 2 +- > kohaversion.pl | 2 +- > 3 files changed, 9 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 68e7cbc..6560aed 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -3687,6 +3687,13 @@ if (C4::Context->preference('Version') < TransformToNum($DBversion)){ > 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) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >index b54f65b..4e06abc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >@@ -98,7 +98,7 @@ Cataloging: > - 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). >diff --git a/kohaversion.pl b/kohaversion.pl >index 37605eb..26ee160 100644 >--- a/kohaversion.pl >+++ b/kohaversion.pl >@@ -11,7 +11,7 @@ use strict; > > 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 >-- >1.6.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5007
: 2386