Changes between Version 3 and Version 4 of SearchRoutesUseCase
- Timestamp:
- 01/12/25 21:45:05 (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SearchRoutesUseCase
v3 v4 11 11 1.2. If no routes match the search criteria, the user is notified accordingly. 12 12 13 14 The user clicks on the ‘Search’ button 13 15 {{{#!sql 14 SELECT r.route_id, l1.name AS from_location, l2.name AS to_location, tr.company_name AS organizer_name 16 SELECT r.route_id, 17 l1.name AS from_location, 18 l2.name AS to_location, 19 tr.company_name AS organizer_name 15 20 FROM route r 16 17 18 21 JOIN location l1 ON r.from_location_id = l1.location_id 22 JOIN location l2 ON r.to_location_id = l2.location_id 23 JOIN transport_organizer tr ON r.transport_organizer_id = tr.transport_organizer_id 19 24 WHERE l1.name ILIKE '%from_location%' 20 25 AND l2.name ILIKE '%to_location%'