]> git.koha-community.org Git - koha.git/commit
Bug 17117: Patron personal details not displayed unless branch update request is...
authorJacek Ablewicz <abl@biblos.pk.edu.pl>
Fri, 12 Aug 2016 14:19:52 +0000 (16:19 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 23 Aug 2016 10:45:57 +0000 (12:45 +0200)
commit700c602634390f34a3fac86c158d95b30bc03963
tree798923c4253a946f0dd888892760bf992238b3b5
parente97d132cc64fad0f3ef6ddf391f40699ea41ea95
Bug 17117: Patron personal details not displayed unless branch update request is enabled

In patron acount ("your personal details" tab, which serves as a form
for submitting update requests as well) it's not possible to display
some account details like expiration date etc., without enabling
the field for branch / library update requests too.

To reproduce:

1) set OPACPatronDetails to "Allow"
2) clear PatronSelfModificationBorrowerUnwantedField preference
- all possible fields in the update requests form are visible
in patron account, including some extra details (card number,
expiration date, category) in the "Library" section on top
3) put 'branchcode' in PatronSelfModificationBorrowerUnwantedField preference
4) the whole 'Library' section disappears

To test:

1) apply patch
2) put 'branchcode' in PatronSelfModificationBorrowerUnwantedField,
'Library' section should remain visible (sans branch selection option)
3) put 'branchcode|cardnumber|datexpiry|categorycode' in the same
preference, 'Library' section should now disappear

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fb449aaede3f23ee71e9e50286a26035bb3ef640)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt