]> git.koha-community.org Git - koha.git/commit
Bug 13757: Add the option to set patron attributes editable in the OPAC
authorJesse Weaver <pianohacker@gmail.com>
Wed, 2 Sep 2015 23:54:04 +0000 (17:54 -0600)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Mar 2017 18:44:51 +0000 (18:44 +0000)
commit21e496bd7bcf3cd3f8826410384005e0cabc17d4
tree0deec31baaf644360c6acc71a720ee2cbbd8aacf
parent7b5c8cbf079725381341cea5494717d58735ca9b
Bug 13757: Add the option to set patron attributes editable in the OPAC

Note: this is a squashed version of the original patchset, because it was needed

This patch adds an opac_editable property of borrower attribute types
that can be set in the interface. I'm removing work on OPAC and will
refactor it, keeping the author attribution.

Test plan:
  1. Repeat the following with a new and existing borrower attribute
     type:
  2. Verify that "Editable in OPAC" can only be checked if "Display in
     OPAC" is checked.
  3. Verify that this new property is correctly saved.

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Members/AttributeTypes.pm
admin/patron-attr-types.pl
koha-tmpl/intranet-tmpl/prog/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt