Skip to content

Commit

Permalink
Search Term will be always in lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheppner committed Dec 9, 2024
1 parent e901833 commit e960cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/tours.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const listWrapper = async (req, res) => {
const map = req.query.map;
const bounds = req.query.bounds;

const search = req.query.search;
const search = req.query.search.toLowerCase();
const currLanguage = req.query.currLanguage ? req.query.currLanguage : 'de'; // this is the menue language the user selected
const city = req.query.city;
const range = req.query.range;
Expand Down

0 comments on commit e960cab

Please sign in to comment.