Steps to reproduce
Describe the bug
Room filtering in Calendar does not behave correctly when using room type and minimum capacity filters.
- Boolean filters (e.g. has projector) work correctly.
- However:
- Room type filter returns no results, even when matching rooms exist.
- Minimum capacity filter returns incorrect results (e.g. rooms with lower capacity than requested).
Additionally, search requires entering part of the room name; filters alone do not return any results.
Steps to reproduce
- Create a room via
occ:
php occ calendar-resource:room:create \
--has-projector=1 \
--wheelchair-accessible=0 \
--capacity=8 \
--room-number=103 \
1 \
"adminrece" \
"Zasedačka recepce" \
"zasrecepce@remak.cz" \
"Meeting room"
- Open Calendar → create new event
- In room/resource selection:
- Try filtering by room type = "Meeting room"
- Try filtering by minimum capacity = 500
- Try filtering by has projector = yes
Expected behavior
- Room type filter should return rooms with matching
room_type
- Minimum capacity filter should only return rooms with capacity ≥ requested value
- Filters should work independently of text search
Actual behavior
- Room type filter returns no results
- Minimum capacity filter returns incorrect rooms (e.g. capacity 8 when 500 is requested)
- Boolean filters (e.g. projector) work correctly
- Rooms are only found if part of their name/email is entered in the search field
Environment
- Nextcloud: 33.x
- Calendar app: 6.2.1
- calendar_resource_management: 0.11.0
- Background jobs: cron (running every 5 minutes)
Additional context
- Rooms are correctly created and visible in “Show all rooms”
calendar-resource:list shows correct values (capacity, type, etc.)
- Issue appears to affect only filtering/search in UI
- Possibly related to localization (UI shows translated "Zasedací místnost" for "Meeting room")
Summary
Room filtering is inconsistent:
- boolean filters work
- type and capacity filters do not
This makes room selection unreliable without knowing the exact room name.
Expected behavior
described up
Actual behavior
described up
App version
No response
Additional info
described up
Steps to reproduce
Describe the bug
Room filtering in Calendar does not behave correctly when using room type and minimum capacity filters.
Additionally, search requires entering part of the room name; filters alone do not return any results.
Steps to reproduce
occ:Expected behavior
room_typeActual behavior
Environment
Additional context
calendar-resource:listshows correct values (capacity, type, etc.)Summary
Room filtering is inconsistent:
This makes room selection unreliable without knowing the exact room name.
Expected behavior
described up
Actual behavior
described up
App version
No response
Additional info
described up