From 77c646a5db9995cfc9c9d3633103e8bededd9781 Mon Sep 17 00:00:00 2001
From: Marcel de Rooy
Date: Wed, 29 May 2013 16:19:27 +0200
Subject: [PATCH] Bug 10343: Rename OpacShowHoldNotes to OpacHoldNotes
As QA followup on report 9722. Built on top of another followup report 10321.
Test plan:
Run the db revision included in the other patch.
Enable OpacHoldNotes. Check that you can add a hold note on opac-reserve.
Do you see it on opac-user and in staff on catalog detail of that biblio?
Do a grep on ShowHoldNotes on the Koha code: grep -i ignores case. You should
find three occurrences only in updatedatabase.pl (the old dbrev and this dbrev
renaming them). These are fine.
Signed-off-by: Kyle M Hall
Signed-off-by: Jonathan Druart
Signed-off-by: Galen Charlton
---
.../prog/en/modules/admin/preferences/opac.pref | 2 +-
koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt | 6 +++---
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 4 ++--
opac/opac-reserve.pl | 4 ++--
opac/opac-user.pl | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
index 81824e4702..90295ef6c9 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
@@ -418,7 +418,7 @@ OPAC:
no: Don't display
- the list of authors/subjects in a popup for a combined search on OPAC detail pages.
-
- - pref: OpacShowHoldNotes
+ - pref: OpacHoldNotes
default: 0
choices:
yes: Allow
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt
index acff3bc0c4..42d85d4ef0 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt
@@ -272,7 +272,7 @@