Koha in schools, cataloguing teacher resources
Dear community, I have a situation where a school wants to catalogue their teacher resources but don't really want them to appear in an OPAC search alongside the 'regular' library items. I'm not sure that creating a separate library would be an efficient solution. I would appreciate any suggestions on how others have approached this situation. Many thanks, Clint. -- Clint Deckard Ashley Clinton RD1 Takapau Central Hawkes Bay, New Zealand.
clint.deckard schreef op do 14-08-2014 om 16:40 [+1200]:
I have a situation where a school wants to catalogue their teacher resources but don't really want them to appear in an OPAC search alongside the 'regular' library items. I'm not sure that creating a separate library would be an efficient solution.
Would OpacHiddenItems do it?
The OpacHiddenItems syspref allow the user to define custom rules for hiding specific items at opac.
YAML syntax is used for defining such rules.
Items can be hidden according to values from the items table:
field: [value1, value2, ...]
Example : withdrawn: [0, 1] homebranch: [homebranch1, homebranch2]
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
Hi Clint, I tested OpacHiddenItems and it works great for that purpose. I will use it for a similar task. There is a Bug (enhancement) in the pipeline that allows to show hidden items to one or more user categories, e.g. for teachers and/or staff members. Bug 10589 - Override OpacHiddenItems based on Patron Category http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10589 Marc Am 14.08.2014 07:16, schrieb Robin Sheat:
clint.deckard schreef op do 14-08-2014 om 16:40 [+1200]:
I have a situation where a school wants to catalogue their teacher resources but don't really want them to appear in an OPAC search alongside the 'regular' library items. I'm not sure that creating a separate library would be an efficient solution. Would OpacHiddenItems do it?
The OpacHiddenItems syspref allow the user to define custom rules for hiding specific items at opac.
YAML syntax is used for defining such rules.
Items can be hidden according to values from the items table:
field: [value1, value2, ...]
Example : withdrawn: [0, 1] homebranch: [homebranch1, homebranch2]
Marc, Robin and Riley thank you for the assistance. I appreciate it. The OpacHiddenItems does achieve the result but has the downside that teachers would need to login to the staff client to search for teaching resources. Not a show stopper but a small barrier. Also, when a search returns just one result a 404 page is displayed as per Bug 9944. Again, not a big problem as this would be a rare occurrence. Enhancement Bug 10589 would be a great improvement, and has no downsides that I can see. Clint. Marc Véron wrote:
Hi Clint,
I tested OpacHiddenItems and it works great for that purpose. I will use it for a similar task.
There is a Bug (enhancement) in the pipeline that allows to show hidden items to one or more user categories, e.g. for teachers and/or staff members. Bug 10589 - Override OpacHiddenItems based on Patron Category http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10589
Marc
Am 14.08.2014 07:16, schrieb Robin Sheat:
clint.deckard schreef op do 14-08-2014 om 16:40 [+1200]:
I have a situation where a school wants to catalogue their teacher resources but don't really want them to appear in an OPAC search alongside the 'regular' library items. I'm not sure that creating a separate library would be an efficient solution. Would OpacHiddenItems do it?
The OpacHiddenItems syspref allow the user to define custom rules for hiding specific items at opac.
YAML syntax is used for defining such rules.
Items can be hidden according to values from the items table:
field: [value1, value2, ...]
Example : withdrawn: [0, 1] homebranch: [homebranch1, homebranch2]
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Thanks Robin I had been trying to see how I could hide withdrawn items on the opac and this is exactly what I needed to see. There is one thing happening, though. When I hide withdrawn items where there are multiple copies (some are still in stock, some withdrawn) then the opac displays only the ones still in stock while the staff client gives all copies, which is what I want to happen. But with titles where the only copy has been withdrawn the opac returns an error 404 message. We still want the information that the copy has been withdrawn on the staff client. Would there be some other setting I should be changing to avoid this? Many thanks for your help Kind regards Anne Jackman Director, Presbyterian Research Centre Incorporating the Archives and Hewitson Library Presbyterian Church of Aotearoa New Zealand Knox College Arden Street, Opoho, Dunedin 9010 New Zealand Ph: +64 3 473 0775 Email: anne.jackman@knoxcollege.ac.nz Library: https://hewitson.mykoha.org.nz Archives: http://www.archives.presbyterian.org.nz/ -----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Robin Sheat Sent: Thursday, 14 August 2014 5:16 p.m. To: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha in schools, cataloguing teacher resources clint.deckard schreef op do 14-08-2014 om 16:40 [+1200]:
I have a situation where a school wants to catalogue their teacher resources but don't really want them to appear in an OPAC search alongside the 'regular' library items. I'm not sure that creating a separate library would be an efficient solution.
Would OpacHiddenItems do it?
The OpacHiddenItems syspref allow the user to define custom rules for hiding specific items at opac.
YAML syntax is used for defining such rules.
Items can be hidden according to values from the items table:
field: [value1, value2, ...]
Example : withdrawn: [0, 1] homebranch: [homebranch1, homebranch2]
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Anne Jackman schreef op vr 15-08-2014 om 08:30 [+1200]:
But with titles where the only copy has been withdrawn the opac returns an error 404 message. We still want the information that the copy has been withdrawn on the staff client.
Can you clarify here? I would expect the OPAC to return a 404 (i.e., there is nothing there) if there are no items to show in this case, in order to allow for total hiding of things. For that matter, it also shouldn't be showing up in search results, and it shouldn't be affecting the staff client at all. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
Hi Robin The item is still showing on the staff client as withdrawn, but when searching the OPAC there is the 404 message. This is only for records when the only copy has been withdrawn. Regards Anne -----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Robin Sheat Sent: Friday, 15 August 2014 10:28 a.m. To: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha in schools, cataloguing teacher resources Anne Jackman schreef op vr 15-08-2014 om 08:30 [+1200]:
But with titles where the only copy has been withdrawn the opac returns an error 404 message. We still want the information that the copy has been withdrawn on the staff client.
Can you clarify here? I would expect the OPAC to return a 404 (i.e., there is nothing there) if there are no items to show in this case, in order to allow for total hiding of things. For that matter, it also shouldn't be showing up in search results, and it shouldn't be affecting the staff client at all. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Anne Jackman schreef op vr 15-08-2014 om 10:53 [+1200]:
The item is still showing on the staff client as withdrawn, but when searching the OPAC there is the 404 message. This is only for records when the only copy has been withdrawn.
The biblio shouldn't show up in search results on the OPAC at all if all the items are hidden, so you shouldn't be able to click through to get the 404. However, the 404 is the correct behaviour if you try to go directly to the details page as you've asked for all the items to be hidden, and that implies hiding the whole record. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
Am 15.08.2014 01:06, schrieb Robin Sheat:
However, the 404 is the correct behaviour if you try to go directly to the details page as you've asked for all the items to be hidden, and that implies hiding the whole record.
I submitted a patch that makes the 404 page more verbose and explains the reasons why the 404 shows up. http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12763 Marc
participants (4)
-
Anne Jackman -
clint.deckard -
Marc Véron -
Robin Sheat