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 Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
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 Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
files.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
guarantor_search.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
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 Bug 15758: Koha::Libraries - Ultimate duel for C4::Branch 2016-09-08 14:36:04 +00:00
members-update.pl Bug 13757: Better display for attr changes in members-update.pl 2017-03-24 18:45:17 +00:00
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 Bug 15407: Koha::Patron::Categories - replace C4::Category->all 2016-09-08 13:29:03 +00:00
notices.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
patronimage.pl Bug 17423 - patronimage.pl permission is too restrictive 2016-10-17 23:44:25 +00:00
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 Bug 12933: (QA followup) Rename GetOverdues to GetOverduesForPatron 2015-11-04 12:41:29 -03:00
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 Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
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 Bug 16911: Rename extend_subscription with renew_account 2016-09-09 09:45:32 +00:00
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