Bug 18111: Swap framework_name and frameworkcode
authorMark Tompsett <mtompset@hotmail.com>
Sun, 19 Feb 2017 04:06:16 +0000 (23:06 -0500)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 21 Feb 2017 20:54:39 +0000 (21:54 +0100)
commita96c6dfcccca77d306c193982c73c8110752cd95
tree1f36579cba4e47cfb206ea1d8b4d46bda9db424d
parentc4f578bf9769d92bbe9ec3cd10c6623692d53f87
Bug 18111: Swap framework_name and frameworkcode

With the frameworkcode changed to an empty string, which really
is closer to the physical reality, some javascript somewhere
breaks. This means the spinner does not appear when you confirm
that you wish to import it.

TEST PLAN
----------
1) apply first patch
2) export default framework, doesn't matter format
3) import default framework using that file.
4) answer yes or whatever it is.
   -- spinner does not appear.
5) apply this patch
6) import default framework use the same file.
7) answer yes or whatever it is.
   -- spinner does appear.
8) decide if you wish to find and fix the javascript conditions.
   if yes -- do so, and then obsolete this once you have.
   if not -- sign this off after running koha qa test tools

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 1ce61ac6a372783b39a11386018e08d92ccd8f39)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
admin/import_export_framework.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt