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)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 14 Dec 2013 01:05:56 +0000 (01:05 +0000)
commit6000bfdf87db3f7f43feb21efd3cac8b7de9c048
tree45602cf6f9e57f2eb0ea687af54792fbc358f8ee
parent945dbfc490e7bc8849f7b5f741856131c765cc75
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>
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]