The systempref.sql file had one more option 'cardnumber' that was not
visible from the system preference editor. This patch adds the setting.

To test:
- Check new setting cardnumber is available for AutoEmailPrimaryAddress
- Use setting with a patron that has an email address as cardnumber and
verify email is sent out correctly.
---
 .../prog/en/modules/admin/preferences/patrons.pref |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git 
a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref 
b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
index 3d88883..55b4457 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
@@ -20,6 +20,7 @@ Patrons:
                email: home
                emailpro: work
                B_email: alternate
+               cardnumber: cardnumber as
                "OFF": first valid
          - "patron email address for sending out emails."
      -
-- 
1.7.5.4

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to