Rename GET obselements/search as GET elements/search (no longer tied solely to the obselement table).
elements/search?query=${query} should also include station_id as an optional query parameter. If station_id is present then available element results should be returned from the stationelement database table for the given station instead of the obselements table list of all all element codes.
Rename
GET obselements/search
asGET elements/search
(no longer tied solely to theobselement
table).elements/search?query=${query}
should also includestation_id
as an optional query parameter. Ifstation_id
is present then available element results should be returned from thestationelement
database table for the given station instead of theobselements
table list of all all element codes.