Hello everyone, I have a problem with the Holds queue. If I request a hold on an item from opac, I can see the hold status as pending, but when I go to the Staff client in Circulation>Holds queue I'm always getting a "No items found" result. If I check in that item I get notified that there is a hold on this item. I can also see the hold if I go to the profile of the patron that made the hold, or from the display of that item I can see there is a hold on the item as well. I think I saw somewhere that I have to put in cron a script about the holds queue, but since my setup of koha is done using the packages (3.20) shouldn't that be already be configured? -- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-Holds-queue-tp5859174.html Sent from the Koha-devel mailing list archive at Nabble.com.
Not all libraries use the holds queue, so I don't believe that cronjob is enabled by default. The script you are looking for is holds/ build_holds_queue.pl, you should add this script to /etc/cron.d/koha-common in a similar fashion to the lines in there. I would suggest you set it to run every 15 to 30 minutes. Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Thu, Oct 29, 2015 at 4:41 AM, akafortes <akafortes@gmail.com> wrote:
Hello everyone, I have a problem with the Holds queue. If I request a hold on an item from opac, I can see the hold status as pending, but when I go to the Staff client in Circulation>Holds queue I'm always getting a "No items found" result. If I check in that item I get notified that there is a hold on this item. I can also see the hold if I go to the profile of the patron that made the hold, or from the display of that item I can see there is a hold on the item as well. I think I saw somewhere that I have to put in cron a script about the holds queue, but since my setup of koha is done using the packages (3.20) shouldn't that be already be configured?
-- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-Holds-queue-tp5859174.html Sent from the Koha-devel mailing list archive at Nabble.com. _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Hello Kyle, thank you very much for your respone I've modified /etc/cron.d/koha-common and added the following line at the end of the file */15 * * * * root /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl but I must have done something wrong cause it doesn't seem to do anything. This is the entire koha-common file: # /etc/cron.d/koha-common # # Call koha-rebuild-zebra for each enabled Koha instance, to make sure the # Zebra indexes are up to date. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # Comment the following line if you want to use the experimental koha-index-daemon integr$ */5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra -q $(koha-lis$ */15 * * * * root koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/process_mes$ */15 * * * * root /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl Kyle Hall wrote
Not all libraries use the holds queue, so I don't believe that cronjob is enabled by default. The script you are looking for is holds/ build_holds_queue.pl, you should add this script to /etc/cron.d/koha-common in a similar fashion to the lines in there. I would suggest you set it to run every 15 to 30 minutes.
Kyle
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
On Thu, Oct 29, 2015 at 4:41 AM, akafortes <
akafortes@
> wrote:
Hello everyone, I have a problem with the Holds queue. If I request a hold on an item from opac, I can see the hold status as pending, but when I go to the Staff client in Circulation>Holds queue I'm always getting a "No items found" result. If I check in that item I get notified that there is a hold on this item. I can also see the hold if I go to the profile of the patron that made the hold, or from the display of that item I can see there is a hold on the item as well. I think I saw somewhere that I have to put in cron a script about the holds queue, but since my setup of koha is done using the packages (3.20) shouldn't that be already be configured?
-- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-Holds-queue-tp5859174.html Sent from the Koha-devel mailing list archive at Nabble.com. _______________________________________________ Koha-devel mailing list
Koha-devel@.koha-community
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list
Koha-devel@.koha-community
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-Holds-queue-tp5859174p5859199... Sent from the Koha-devel mailing list archive at Nabble.com.
Try this: */15 * * * * root koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/ build_holds_queue.pl Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
Unfortunately, still no dice maybe I'm missing something else. Does it have to do anything with the dates loan period or something else? This is my testing scenario: I check out an item to a patron which has an Item Type of "Test". I've set up a circulation rule for this category with a Loan period of "1 day". I have also set the "Holds allowed" to 100, "On shelf holds allowed" to yes and "item level holds" to allow. I login to the opac and search for the item I checkout out earlier and place a hold on the item. I leave the options of the hold as default, so i don't set a start and end date for the hold and I also leave the "Next available item" selected and hit the "Place hold button. After 15-20 minutes I go to the Staff client, in the Circulation module and hit the "Holds queue". I select the branch I want ( I only have one branch anyway), hit submit but I always get "No items found". -- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-Holds-queue-tp5859174p5859275... Sent from the Koha-devel mailing list archive at Nabble.com.
If an item is checked out, it will not show up in the holds queue. The idea behind the holds queue is to show you available items that can be used to fill open holds! Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Thu, Oct 29, 2015 at 12:30 PM, akafortes <akafortes@gmail.com> wrote:
Unfortunately, still no dice maybe I'm missing something else. Does it have to do anything with the dates loan period or something else? This is my testing scenario: I check out an item to a patron which has an Item Type of "Test". I've set up a circulation rule for this category with a Loan period of "1 day". I have also set the "Holds allowed" to 100, "On shelf holds allowed" to yes and "item level holds" to allow. I login to the opac and search for the item I checkout out earlier and place a hold on the item. I leave the options of the hold as default, so i don't set a start and end date for the hold and I also leave the "Next available item" selected and hit the "Place hold button. After 15-20 minutes I go to the Staff client, in the Circulation module and hit the "Holds queue". I select the branch I want ( I only have one branch anyway), hit submit but I always get "No items found".
-- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-Holds-queue-tp5859174p5859275... Sent from the Koha-devel mailing list archive at Nabble.com. _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Thank you very much for clarifying this, Kyle I didn't know that Kyle Hall wrote
If an item is checked out, it will not show up in the holds queue. The idea behind the holds queue is to show you available items that can be used to fill open holds!
Kyle
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
On Thu, Oct 29, 2015 at 12:30 PM, akafortes <
akafortes@
> wrote:
Unfortunately, still no dice maybe I'm missing something else. Does it have to do anything with the dates loan period or something else? This is my testing scenario: I check out an item to a patron which has an Item Type of "Test". I've set up a circulation rule for this category with a Loan period of "1 day". I have also set the "Holds allowed" to 100, "On shelf holds allowed" to yes and "item level holds" to allow. I login to the opac and search for the item I checkout out earlier and place a hold on the item. I leave the options of the hold as default, so i don't set a start and end date for the hold and I also leave the "Next available item" selected and hit the "Place hold button. After 15-20 minutes I go to the Staff client, in the Circulation module and hit the "Holds queue". I select the branch I want ( I only have one branch anyway), hit submit but I always get "No items found".
-- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-Holds-queue-tp5859174p5859275... Sent from the Koha-devel mailing list archive at Nabble.com. _______________________________________________ Koha-devel mailing list
Koha-devel@.koha-community
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list
Koha-devel@.koha-community
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-Holds-queue-tp5859174p5859319... Sent from the Koha-devel mailing list archive at Nabble.com.
participants (2)
-
akafortes -
Kyle Hall