Bug 19129 - Follow-up - Add changes to patron duplicate warning
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 17 Aug 2017 22:14:52 +0000 (00:14 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Sep 2017 16:02:23 +0000 (13:02 -0300)
commita887aeb2dff4e52f35f1f64bfc267867987cbb53
tree636870d492b1f5c4cf8246d26f30a2910883fbd5
parent82f183c5ea802e3231cb2442cf32474c92bd6ab4
Bug 19129 - Follow-up - Add changes to patron duplicate warning

Adds logic from the previous fix to the brief patron summary
shown when checking a possible patron duplicate.

Bonus: Also fixes missing patron category description there.

To Test:
- Add 2 patrons
- Add a patron with the same surname and firstname as an
  existing patron in order to trigger the duplicate message
- Click "View existing patron"
- Verify display is correct when existing patron is
  - an organisation
  - not an organisation
- Verify that the patron category description shows

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt