Bug 18111: Swap framework_name and frameworkcode
authorMark Tompsett <mtompset@hotmail.com>
Sun, 19 Feb 2017 04:06:16 +0000 (23:06 -0500)
committerMason James <mtj@kohaaloha.com>
Wed, 22 Feb 2017 21:26:47 +0000 (10:26 +1300)
commit3b4e164903ec532ad616d7e9021719bbd00b292e
tree8232df74a4a205b26c8f24c3cad92621d2513ba6
parent07eefd02ba363c6072b6370e4360a91360e31ab2
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: Mason James <mtj@kohaaloha.com>
admin/import_export_framework.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt