Bug 12371 - Links in every patron self-registration email points to a single borrower
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Aug 2014 16:45:44 +0000 (12:45 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 23 Jan 2015 12:44:30 +0000 (13:44 +0100)
commit8c78314d69b2d340530ab5570c35fd66c4720e9f
tree2b4e9e48b7d66ae15eb91fb9e78604c464109ff3
parentd43d0642bd522f97f01c3513b763a4f4fc458711
Bug 12371 - Links in every patron self-registration email points to a single borrower

If multiple registrations are submitted, the first patron to register
will be used for the first patron to click the registration confirmation
link!

Test Plan:
1) Submit 2 new patron registrations
2) Use the confirm link from the 2nd registration
3) Note you end up registering as the first submitted registration
4) Apply the patch
5) Repeat steps 1 and 2
6) Note you are now confirmed correctly

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Test plan appears to work fine, I have a feeling the sql could be
written better but can't come up with it on a Sunday morning

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described and fixes a critical bug.
Passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 37fae3408b66d5b94f9fa4f4c2e5c02f360a8041)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Letters.pm