]> git.koha-community.org Git - koha.git/commit
Bug 10626 - Remove doubled up TT plugins - Merge KohaBranchName and Branches
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 23 Jul 2013 13:52:08 +0000 (09:52 -0400)
committerFridolin SOMERS <fridolin.somers@biblibre.com>
Mon, 30 Dec 2013 09:38:24 +0000 (10:38 +0100)
commit22b0cc7b1874c18d99daf88f4b0ddb931f0fef0b
tree847cc7d56953664cd351dd8e1639fd5a1d8876ac
parent49d314fb92893956c57773d2a6677bf345bb1c32
Bug 10626 - Remove doubled up TT plugins - Merge KohaBranchName and Branches

Looking at the TT plugin directory I notice we have some plugins that
seem to do the same thing:

KohaBranchName.pm
Branches.pm

This patch drops KohaBranchName in favor of Branches

Test Plan:
1) Apply this patch
2) View a basket group, note the branch name is displayed
3) View a subscription's details, note the branch name is displayed
4) View suggestions, note the branch names are displayed
5) Return an item that needs transfered, note the branch name is displayed
6) Run 'prove t/db_dependent/Koha_template_plugin_Branches.t'

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Also tested with a branch name with umlauts.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 6000bfdf87db3f7f43feb21efd3cac8b7de9c048)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
Koha/Template/Plugin/Branches.pm
Koha/Template/Plugin/KohaBranchName.pm [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
t/db_dependent/Koha_template_plugin_Branches.t [new file with mode: 0644]
t/db_dependent/Koha_template_plugin_KohaBranchName.t [deleted file]