Bug 21907: Fix article requests count for non-superlibrarians
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 Dec 2018 13:13:42 +0000 (10:13 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 12 Feb 2019 21:01:13 +0000 (21:01 +0000)
commite347ef104a389d62eebb1fb9385865167e7235e8
treef76eb47d745f227e9642e451f26afe881d4eb522
parent3debb1e0dce18b668546171a7ae40f7599e8ec79
Bug 21907: Fix article requests count for non-superlibrarians

The query generates "Column 'branchcode' in where clause is ambiguous"

Test plan:
1 - Enable 'IndependentBranchesPatronModifications' and article requests
2 - Sign in as non-superlibrarian
3 - View plack log
4 - Refresh mainpage, see error in logs

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit ab9e4ca6a46519ddc69ad76837407c0a4f0ed0cd)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 9c823701268d07feb149e219ece7c88d89d47732)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
mainpage.pl