[Koha] Error in Patrons
Rejeesh K.Nair
rejeeshknair at gmail.com
Thu May 4 00:03:45 NZST 2017
Hi,
The structure of our KOHA application is like one main library and sub
libraries as branches.So the main administrator should see all the patrons
from his end.
When I went through the code ,I found that the branch code is set as the
username of administrator in
/usr/share/koha/lib/C4/Utils/DataTables/Members.pm line 59.
The list working fine if we comment the following code
if(defined $branchcode and $branchcode ne '') {
push @where_strs, "borrowers.branchcode = ?";
push @where_args, $branchcode;
}
Can anyone help on this issue? Is it a config related issue?
Thanks & Regards,
Rejeesh K.Nair
m: +91 (0) 9495316906
e: rejeeshknair at gmail.com
<https://www.facebook.com/rejeeshnairk> <https://twitter.com/rejeeshknair>
<http://in.linkedin.com/in/rejeeshknair>
<https://www.instagram.com/rejeeshknair/>
On Wed, May 3, 2017 at 11:50 AM, Bob Birchall <bob at calyx.net.au> wrote:
> So if you log in as a real patron, you should not see that error. The
> Administrator login is not associated with a branch.
> HTH,
> Bob Birchall
> Calyx
>
> On 03/05/17 14:52, Rejeesh K.Nair wrote:
>
>> Hi,
>>
>> We are logged in as KOHA administrator and we got the error from
>> /var/log/koha/library/intranet-error.log.
>>
>> Thanks & Regards,
>>
>> Rejeesh K.Nair
>> m: +91 (0) 9495316906
>> e: rejeeshknair at gmail.com
>> <https://www.facebook.com/rejeeshnairk> <https://twitter.com/rejeeshknair
>> >
>> <http://in.linkedin.com/in/rejeeshknair>
>> <https://www.instagram.com/rejeeshknair/>
>>
>>
>> On Tue, May 2, 2017 at 8:09 PM, Jonathan Druart <
>> jonathan.druart at bugs.koha-community.org> wrote:
>>
>> Hello, Are you logged in with the DB user?
>>>
>>> On Tue, 2 May 2017 at 11:16 Rejeesh K.Nair <rejeeshknair at gmail.com>
>>> wrote:
>>>
>>> Hi All,
>>>>
>>>> We just migrated KOHA version 3.18.01.000 to 16.05.04. When we click on
>>>> any
>>>> of the letter(A-Z listing) in 'Patrons' tab it won't show the
>>>> corresponding
>>>> patrons.
>>>> Data already exist in database and the error log shows the following
>>>> error.
>>>> "Argument "NO_LIBRARY_SET" isn't numeric in modulus (%) at
>>>> /usr/share/koha/lib/C4/Context.pm line
>>>> 1246.: /usr/share/koha/intranet/cgi-bin/mainpage.pl,"
>>>>
>>>> Can anyone help on this issue?
>>>>
>>>> Thanks & Regards,
>>>>
>>>> Rejeesh K.Nair
>>>> m: +91 (0) 9495316906 <+91%2094953%2016906>
>>>> e: rejeeshknair at gmail.com
>>>> <https://www.facebook.com/rejeeshnairk> <https://twitter.com/rejeeshkn
>>>> air
>>>> <http://in.linkedin.com/in/rejeeshknair>
>>>> <https://www.instagram.com/rejeeshknair/>
>>>> _______________________________________________
>>>> Koha mailing list http://koha-community.org
>>>> Koha at lists.katipo.co.nz
>>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>>>
>>>> _______________________________________________
>> Koha mailing list http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
More information about the Koha
mailing list