Re: [Koha-devel] Staff client catalogue/search.pl
On Thu, Aug 5, 2010 at 7:35 PM, Fridolyn SOMERS <fridolyn.somers@gmail.com>wrote:
Hi,
Isn't it the goal of "HomeOrHoldingBranch" system preference ?
Regards,
2010/8/4 Koustubha Kale <kmkale@anantcorp.com>
Hi, In staff client catalogue/search.pl searches in the permanent location of the item. How can I make it search in current location?
Is it? It says..
Use the checkout and fines rules of the library the item is from. the library the item was checked out from. NOTE: This is older than CircControl, but used by some parts of Koha. It will be removed soon. 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
On Thu, Aug 5, 2010 at 9:44 PM, Koustubha Kale <kmkale@anantcorp.com> wrote:
On Thu, Aug 5, 2010 at 7:35 PM, Fridolyn SOMERS <fridolyn.somers@gmail.com
wrote:
Hi,
Isn't it the goal of "HomeOrHoldingBranch" system preference ?
Regards,
2010/8/4 Koustubha Kale <kmkale@anantcorp.com>
Hi, In staff client catalogue/search.pl searches in the permanent location of the item. How can I make it search in current location?
Is it? It says..
Use the checkout and fines rules of the library the item is from. the library the item was checked out from. NOTE: This is older than CircControl, but used by some parts of Koha. It will be removed soon.
Here is the situation in detail. One of our libraries has just started a branch. All the items in this branch have for all items, "Current Location" set to the branch and "Permanent Location" set to the head office. This is by decision of the library management. When we log in to the staff interface with a staff whose library is set to the branch and do a advanced search on any item type with keyword blank, we get no items. If for testing I change the permanent location of an item to the branch, then we get that item in the advanced search. Changing either HomeOrHoldingBranch or CircControl make no difference to this situation. I conclude that the advanced search is only looking in permanent location of items. Is there a way to change this behavior to search in current location? 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
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@gmail.com
On Fri, Aug 6, 2010 at 1:08 PM, Fridolyn SOMERS <fridolyn.somers@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@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
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@anantcorp.com> wrote:
On Fri, Aug 6, 2010 at 1:08 PM, Fridolyn SOMERS <fridolyn.somers@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@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@gmail.com
On Fri, Aug 6, 2010 at 1:35 PM, Fridolyn SOMERS <fridolyn.somers@gmail.com>wrote:
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,
-- Fridolyn SOMERS Information and Communication Technologies engineer Lyon - FRANCE fridolyn.somers@gmail.com
Thanks. If anybody on the list can comment with more knowledge of the impact this change might cause, it would help. Will take a full db backup before trying and do it on a holiday. 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
participants (2)
-
Fridolyn SOMERS -
Koustubha Kale