← All work

Novatours · Scandiweb · Front-end and integrations · 2022 – 2023

Making search work when people combine criteria

Reworking the search bar, and a filter bug that returned the wrong trips

The problem

Search is the whole product on a travel site: it is how someone gets from wanting a holiday to seeing one they might book. The search bar had been built in a way that made it awkward to use, both in how it called the API and in how the design had been implemented. Separately, the sales pages returned incorrect results when more than one search criterion was combined, which is the worst kind of search bug because it looks like an answer.

What I did

I reworked the search bar substantially, changing how it talks to the API and how the interface is put together, with usability as the goal rather than parity with what was there. Then I debugged the combined-criteria problem on the sales pages and fixed the logic that was mishandling criteria applied together.

The outcome

Search became something people can use, and combining filters returns the trips it says it does rather than a plausible-looking wrong set.

Built with

  • React
  • TypeScript
  • PHP
  • Pimcore
  • REST APIs
View the repository →