Bug 14510: Allow column visibility in additem.pl to be customized
authorJesse Weaver <pianohacker@gmail.com>
Thu, 9 Jul 2015 22:26:36 +0000 (16:26 -0600)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 18 Sep 2015 14:57:03 +0000 (11:57 -0300)
commit547ef37e044c062709e7bd02061a6a66a2b408f4
tree612c380d1ff8bdead3c7a072d417c7857f08e78c
parentbcb6e9ea39dce065e8c7ff80b4d1b7b49e1735f4
Bug 14510: Allow column visibility in additem.pl to be customized

This patch adds the table of items on additem.pl to the columns
customizer.

Test plan:
  1. Open item editor on a record, and verify that all columns are visible.
  2. Apply patch.
  3. Reload editor, and verify that column visibility hasn't changed.
  4. Open "Hide/show columns," and verify that you can add and remove
     columns.
  5. Change the visibility and togglability of some columns in
     columns_settings.pl, and verify that these correctly apply to
     additem.pl.

NOTE: The columns that are configurable are selected from the non-hidden
columns that have mappings to MARC subfields in the default MARC21
framework (and can thus be displayed in the item editor).

Signed-off-by: Jenny Schmidt <jschmidt@switchinc.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
admin/columns_settings.yml
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt