[Koha-bugs] [Bug 32788] New: Curbside pickups - Order curbside pickup slots chronologically

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 1 21:42:54 CET 2023


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

            Bug ID: 32788
           Summary: Curbside pickups - Order curbside pickup slots
                    chronologically
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

I noticed that if you don't enter the slots in a normal morning-to-evening
order, they stay ordered however you entered them. I think they should appear
in chronological order based on the hours.

I entered them in random order because I started on Monday 10-12, 13-16, 18-20.
When I changed the day to Tuesday, 18-20 was still entered in the boxes so I
just clicked Add because I'm lazy and figured I'd save a few keys/click. Then
added 10-12 and 13-16. So my Monday was ordered correctly (10-12, 13-16, 18-20)
and my Tuesday was ordered 18-20, 10-12, 13-16. I continued with my lazy ways
throughout the week, and it's very much out of order lol!

I think if you enter 18-20 and then enter 10-12, the latter should appear
before the former (10-12, 18-20).

To reproduce:
1. Enable the CurbsidePickup system preference
2. Go to Administration > Curbside pickup
3. In the Curbside pickup hours, enter for example
   Sunday 13:00 16:00
4. Click Add
5. Add a slot before the previous one, for example
   Sunday 10:00 12:00
6. Click Add
   --> The slots are displayed 13-16, 10-12

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list