https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34470

--- Comment #2 from Emily Lamancusa <emily.lamanc...@montgomerycountymd.gov> ---
To replicate:

1. Apply logging patch
2. Set system preferences:
    a. RealTimeHoldsQueue -> Enable
    b. RandomizeHoldsQueueWeight -> in random order
3. Watch the logs for the staff interface
   in ktd:
   ktd --shell
   koha-intra-err
4. Place a hold. Note that the logs display the branch list before and after it
   is randomized.
5. Place some more holds. Note that the branch order after randomization is 
   identical each time.

Bonus round 1:
6. Fill in some branches (I recommend at least 8 or so) for
StaticHoldsQueueWeight
7. Place some more holds.
8. Note that the branch list before randomization is identical to the list in
   StaticHoldsQueueWeight, and the list after randomization is the same each
   time (but not necessarily identical to the randomized list that was produced
   when StaticHoldsQueueWeight was empty).

Bonus round 2:
9. Add the following line to load_branches_to_pull_from in C4/HoldsQueue.pm:
   $logger->warn(rand());
10. Place some more holds.
11. Note that rand() produces the same result each time, and the list after
    randomization is still the same each time (but not necessarily identical to
    the randomized list that was produced before the call to rand() was added).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to