Changeset 17335 for main/waeup.kofa


Ignore:
Timestamp:
2 Feb 2023, 14:35:18 (22 months ago)
Author:
Henrik Bettermann
Message:

Fix bed allocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r17245 r17335  
    26632663        if desired_hostel and desired_hostel != 'no':
    26642664            filtered_beds = [bed for bed in available_beds
    2665                              if bed.bed_id.startswith(desired_hostel)]
     2665                             if bed.bed_id.split('_')[0] == desired_hostel]
    26662666            available_beds = filtered_beds
    26672667        # Add legible bed coordinates
Note: See TracChangeset for help on using the changeset viewer.