Koha/members
Jonathan Druart 4efe251f35 Bug 12346: Display the correct number of pending patron modifications on the patron module home page
Due to the way members-home.pl handles the variable $branch, the number
of patron modifications listed on members-home.pl may differ from the
number listed on mainpage.pl. When the librarian clicks this link, he or
she may see a different number than was listed, or none at all!

Test Plan:
0) Set IndependentBranchesPatronModifications = Yes
1) Create a number of modification request for BranchA
2) Log into the staff intranet with a patron without superlibrarian
permissions and set your branch to BranchB
3) Note the modifications alert to does not display on mainpage.pl
4) Click the "Patrons" link to take you to members-home.pl
5) Note the modifictions alert does display on this page
6) Apply this patch
7) Reload members-home.pl, note the alert no longer displays

QA notes: What was the point of the branch variable?

Followed test plan, patch worked as described. Also passed QA test tool
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-09-12 12:08:45 -03:00
..
boraccount.pl Bug 19258: Prevent warn when reversing a payment 2017-09-07 14:39:09 -03:00
default_messageprefs.pl
deletemem.pl Bug 19080: Fix member vs borrowernumber in delmember 2017-08-25 11:03:37 -03:00
discharge.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
discharges.pl
files.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
guarantor_search.pl
housebound.pl Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
mancredit.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
maninvoice.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
member-flags.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
member-password.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
member.pl Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
memberentry.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
members-home.pl Bug 12346: Display the correct number of pending patron modifications on the patron module home page 2017-09-12 12:08:45 -03:00
members-update-do.pl
members-update.pl
mod_debarment.pl Bug 18858: Prevent warn when deleting a borrower debarment 2017-07-13 18:23:29 -03:00
moremember.pl Bug 19129 - Clean up Details tab for Organisation patrons 2017-09-01 13:02:23 -03:00
nl-search.pl
notices.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
patronimage.pl
pay.pl Bug 19258: Preventing warns when paying a fine or charge from Pay selected button 2017-09-07 14:39:09 -03:00
paycollect.pl Bug 19258: Prevent warn when paying a fine or charge 2017-09-07 14:39:09 -03:00
print_overdues.pl
printfeercpt.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
printinvoice.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
printslip.pl
purchase-suggestions.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
readingrec.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
routing-lists.pl Bug 19080: Fix perlcritic in routing-lists.pl 2017-08-25 11:03:37 -03:00
setstatus.pl
statistics.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
summary-print.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
update-child.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00