Koha/members
Jonathan Druart 653d305452 Bug 14910: Redirect to the circulation module after a renew
iIf a patron is renewed from the circulation module, the librarian
should be redirected to the circulation module.
This works correctly if the renew is done from the patron module
(members).

This is caused by a typo in the template: desintation vs destination.

This patch also removes the cardnumber parameter to the setstatus.pl
script, it is not needed given that borrowernumber is always passed.

This has a good side-effect, it will fix bug 14691. The cardnumber does
not exist anymore, so no need to escape it :)

Test plan:
0/ Do not apply this patch
1/ Create a patron with a cardnumber with a quote (rm'me) and another
one without a quote (rmme)
2/ Go on the checkouts page (circ/circulation.pl)
3/ Renew the 2 patrons
=> With rm'me you are redirected to the circ module - ok
=> With rmme you are redirected to the member module - nok
4/ Go on the patron detail page (members/moremember.pl)
5/ Renew the 2 patrons
=> you are redirected to the member module - ok
6/ Delete the patrons
=> Nothing happend with rm'me, there is a JS error on the page - nok
=> rmme is deleted - ok

7/ Apply the patch and recreate rmme
8/ Repeat 2, 3, 4, 5
=> You are redirected to the correct module
9/ Delete the patrons
=> They are successfully deleted

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Followed the test plan, works as advertised. (I did have some problems
initially, but that was caused by me not using the interface in
English...)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-10-02 14:22:16 -03:00
..
boraccount.pl
default_messageprefs.pl
deletemem.pl
discharge.pl Bug 14368: [Follow-up] Fix workflow 2015-09-28 11:57:45 -03:00
discharges.pl
files.pl
guarantor_search.pl
mancredit.pl
maninvoice.pl
member-flags.pl
member-password.pl Bug 14484: warns when changing patron pw 2015-08-20 13:45:29 -03:00
member.pl
memberentry.pl Bug 14683: [QA Follow-up] Similar change for staff 2015-09-07 12:17:14 -03:00
members-home.pl Bug 12525: FIX patron lists dropdown is empty 2015-09-07 11:49:03 -03:00
members-update-do.pl
members-update.pl
mod_debarment.pl
moremember.pl
nl-search.pl
notices.pl Bug 13813: Remove deprecated module C4::Dates from system 2015-09-18 12:40:55 -03:00
patronimage.pl Bug 14566: Fix permissions in patronimage.pl 2015-08-24 10:29:49 -03:00
pay.pl Bug 14498: uri_escape error triggered by duplicate accountno's for patron 2015-08-20 13:41:38 -03:00
paycollect.pl
printfeercpt.pl
printinvoice.pl Bug 13813: Remove deprecated module C4::Dates from system 2015-09-18 12:40:56 -03:00
printslip.pl
purchase-suggestions.pl
readingrec.pl Bug 13813: Remove deprecated module C4::Dates from system 2015-09-18 12:40:55 -03:00
routing-lists.pl
setstatus.pl Bug 14910: Redirect to the circulation module after a renew 2015-10-02 14:22:16 -03:00
statistics.pl
summary-print.pl
update-child.pl