Compare commits

..

4 Commits

Author SHA1 Message Date
d0bbf8f181 Merge pull request 'staging' (#337) from staging into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m56s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m6s
Reviewed-on: #337
2024-04-03 08:07:48 +02:00
8c8a5c9762 show boats which have place in boatshouse
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
2024-04-03 08:07:16 +02:00
4e1de0c886 Merge pull request 'show 'no reservations' if no reservations :-)' (#336) from reservations into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m57s
CI/CD Pipeline / deploy-staging (push) Successful in 5m39s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #336
2024-04-02 21:31:53 +02:00
06f9fcc427 Merge pull request 'reservations' (#335) from reservations into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m15s
CI/CD Pipeline / deploy-staging (push) Successful in 5m27s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #335
2024-04-02 21:12:14 +02:00

View File

@ -215,12 +215,9 @@ SELECT
b.external b.external
FROM FROM
boat AS b boat AS b
LEFT JOIN
boathouse AS bh ON b.id = bh.boat_id
WHERE WHERE
b.external = false b.external = false
AND b.location_id = (SELECT id FROM location WHERE name = 'Linz') AND b.location_id = (SELECT id FROM location WHERE name = 'Linz')
AND bh.id IS NULL -- This ensures the boat does not have an entry in the boathouse table
ORDER BY ORDER BY
b.name DESC; b.name DESC;
" "