Bugzilla – Attachment 45920 Details for
Bug 15411
"Non fiction" is incorrect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15411: Changing 'Non fiction' to 'Non-fiction'
Bug-15411-Changing-Non-fiction-to-Non-fiction.patch (text/plain), 5.59 KB, created by
Aleisha Amohia
on 2015-12-22 21:58:26 UTC
(
hide
)
Description:
Bug 15411: Changing 'Non fiction' to 'Non-fiction'
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-12-22 21:58:26 UTC
Size:
5.59 KB
patch
obsolete
>From 00014bb184ab7cd7d1b628166862539d5b6076ac Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 22 Dec 2015 21:50:37 +0000 >Subject: [PATCH] Bug 15411: Changing 'Non fiction' to 'Non-fiction' > >To test: > >1) Apply patch >2) Run updatedatabase.pl >3) Go to advanced search in Staff Client (ie /cgi-bin/koha/catalogue/search.pl) >4) Confirm that it says 'Non-fiction' in the 'Any content' drop-down menu under 'Subtype limits' >5) Go to item search (ie /cgi-bin/koha/catalogue/itemsearch.pl) >6) Confirm that it says 'Non-fiction' under 'Collection code' >7) Go to advanced search in OPAC (ie /cgi-bin/koha/opac-search.pl) and click 'More options' >8) Confirm that it says 'Non-fiction' in the 'Content' drop-down menu >9) Go to the details page for a non-fiction book in the OPAC (ie /cgi-bin/koha/opac-detail.pl?biblionumber=2) and click 'Holdings' tab >10) Confirm that it says 'Non-fiction' under 'Collection' heading >--- > .../data/mysql/atomicupdate/bug_15411-change_to_non-fiction.sql | 1 + > installer/data/mysql/en/optional/auth_val.sql | 2 +- > installer/data/mysql/es-ES/optional/auth_val.sql | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 2 +- > 5 files changed, 5 insertions(+), 4 deletions(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_15411-change_to_non-fiction.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_15411-change_to_non-fiction.sql b/installer/data/mysql/atomicupdate/bug_15411-change_to_non-fiction.sql >new file mode 100644 >index 0000000..9aff0fa >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_15411-change_to_non-fiction.sql >@@ -0,0 +1 @@ >+UPDATE `authorised_values` SET `lib`='Non-fiction' WHERE `lib`='Non Fiction'; >diff --git a/installer/data/mysql/en/optional/auth_val.sql b/installer/data/mysql/en/optional/auth_val.sql >index bfc6fec..24f036b 100644 >--- a/installer/data/mysql/en/optional/auth_val.sql >+++ b/installer/data/mysql/en/optional/auth_val.sql >@@ -35,7 +35,7 @@ INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('LOC', > -- collection codes for an item > INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('CCODE','FIC','Fiction'); > INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('CCODE','REF','Reference'); >-INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('CCODE','NFIC','Non Fiction'); >+INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('CCODE','NFIC','Non-fiction'); > > -- withdrawn status of an item, linked to items.withdrawn > INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('WITHDRAWN','1','Withdrawn'); >diff --git a/installer/data/mysql/es-ES/optional/auth_val.sql b/installer/data/mysql/es-ES/optional/auth_val.sql >index 6fe4d43..e1f9f8c 100644 >--- a/installer/data/mysql/es-ES/optional/auth_val.sql >+++ b/installer/data/mysql/es-ES/optional/auth_val.sql >@@ -28,7 +28,7 @@ INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('LOC', > -- collection codes for an item > INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('CCODE','FIC','Fiction'); > INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('CCODE','REF','Reference'); >-INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('CCODE','NFIC','Non Fiction'); >+INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('CCODE','NFIC','Non-fiction'); > > -- withdrawn status of an item, linked to items.withdrawn > INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('WITHDRAWN','1','Withdrawn'); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index b41690d..6ca70fa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -178,7 +178,7 @@ > <select name="limit" class="subtype"> > <option value="" selected="selected" class="menuheader">Any content</option> > <option value="fic:1" >Fiction</option> >- <option value="fic:0" >Non fiction</option> >+ <option value="fic:0" >Non-fiction</option> > <option value="bio:b" >Biography</option> > <option value="mus:j" >Musical recording</option> > <option value="mus:i" >Non-musical recording</option> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index d1ce16a..28591bd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -289,7 +289,7 @@ > <select id="subtype_content" name="limit" class="subtype"> > <option value="" selected="selected" class="menuheader">Any content</option> > <option value="fic:1">Fiction</option> >- <option value="fic:0">Non fiction</option> >+ <option value="fic:0">Non-fiction</option> > <option value="bio:b">Biography</option> > <option value="mus:j">Musical recording</option> > <option value="mus:i">Non-musical recording</option> >-- >1.7.10.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 15411
:
45920
|
46289
|
46295
|
46296
|
46297
|
46298
|
46299
|
46350
|
46351