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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This fixes the list of
      release notes|                            |bookings for items so that
                   |                            |only current bookings are
                   |                            |listed. There is now a
                   |                            |link, "Include completed",
                   |                            |to display all bookings.
                 CC|                            |[email protected]

--- Comment #3 from David Nind <[email protected]> ---
Testing notes (using KTD):

1. Add two bookings for an item (can only set dates in the future):
  . Make an item bookable: for a record, go to the items section and change
Bookable to Yes for an item.
  . Place a booking: Place booking action for the record and add booking
details

2. Change the dates in the database for one of the bookings to dates in the
past:
   . koha-mysql kohadev
   . select * from bookings;
   . update bookings set start_date="2024-06-24 12:00:00" where booking_id=1
   . update bookings set end_date="2024-06-25 12:00:00" where booking_id=1

3. Refresh the bookings section for the record.

4. Note that only current bookings are listed (although the old booking is also
shown on calendar, but that may be because of the SQL I used to update the
bookings).

5. Note that there is also an "Include completed" link above the data table
navigation. Selecting this should show the completed bookings. Clicking again
should only show the current bookings, and the link changes to "Filter
completed" (not sure of the exact words that should be used).

6. If you look at the patron's page, only current bookings are shown.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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