Skip to content

fix(dav): compare room seating capacity numerically - #66118

Open
lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-64413-room-capacity-numeric
Open

lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-64413-room-capacity-numeric

Conversation

@lazerg

@lazerg lazerg commented Oct 31, 2026

Copy link
Copy Markdown

Summary

The room seating capacity search compared the stored varchar value as a string, so a 100-seat room was dropped when asking for at least 2 seats. It now casts the column to an integer before comparing.

I couldn't run the PHPUnit suite locally and didn't add a test.

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Written with Claude (claude-opus-5-5); I reviewed the change.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: lazerg <lazerg2@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Room search filters seating capacity as a string, dropping rooms that fit

1 participant