[Koha-devel] Staff client catalogue/search.pl

Fridolyn SOMERS fridolyn.somers at gmail.com
Fri Aug 6 10:05:47 CEST 2010


Ok,

You are talking about branch limit impact on search.

The search query is composed with "branch" code.
This code is used by Zebra throw CCL language.
Look at "etc/zebradb/ccl.properties", you may find :

    homebranch 1=homebranch
    branch homebranch
   holdingbranch 1=8012

You can see that "branch" is not a real index, "homebranch" and
"holdingbranch" are.
Actually, "branch" is transformed into "homebranch" before Zebra searching.
So you sould solve your problem by changing this :

   branch holdingbranch

Be carfull, I don't know if it modifies other behaviours.

Regards,

On Fri, Aug 6, 2010 at 9:48 AM, Koustubha Kale <kmkale at anantcorp.com> wrote:

>
>
>
> On Fri, Aug 6, 2010 at 1:08 PM, Fridolyn SOMERS <fridolyn.somers at gmail.com
> > wrote:
>
>> Mm,
>>
>> Are you in "singleBanch" mode ?
>>
>> What about "IndependantBranches" system pref ?
>> If set to yes,
>> The search gives only results in the branch of the connected user.
>> In advanced search page, the branch is automatically selected.
>> But you can select another.
>>
>> Regards,
>>
>> --
>> Fridolyn SOMERS
>> Information and Communication Technologies engineer
>> Lyon - FRANCE
>> fridolyn.somers at gmail.com
>
>
> Yes we have  IndependantBranches  on.
> "
>  IndependantBranches   Don't prevent  Prevent  staff (but not
> superlibrarians) from modifying objects (holds, items, patrons, etc.)
> belonging to other libraries.
> "
>
> The question I am asking is whether there is a way to change the default of
> searching in permanent location to current location? If not by sysprefs then
> where in code? A hint will do..
>
>
> Regards,
> Koustubha Kale
> Anant Corporation
>
> Contact Details :
> Address  : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka,
> Thane (w),
>                 Maharashtra, India, Pin : 400601.
> TeleFax  : +91-22-21720108, +91-22-21720109
> Mobile     : +919820715876
> Website  : http://www.anantcorp.com
> Blog : http://www.anantcorp.com/blog/?author=2
>
>


-- 
Fridolyn SOMERS
Information and Communication Technologies engineer
Lyon - FRANCE
fridolyn.somers at gmail.com
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: </pipermail/koha-devel/attachments/20100806/21ea7dad/attachment.htm>


More information about the Koha-devel mailing list