Add partial match note to find by CRS
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
f37d423597
commit
398a62aadb
@ -28,8 +28,9 @@ async function findPisByOrigDest(start: string, end: string) {
|
||||
],
|
||||
},
|
||||
};
|
||||
const search = db.query("pis", query);
|
||||
return await search;
|
||||
const search = await db.query("pis", query);
|
||||
// Check for results, if none then try partial match
|
||||
return search;
|
||||
}
|
||||
|
||||
async function findPisByCode(code: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user