Skip to content

Commit

Permalink
Idea for new search page
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jan 3, 2024
1 parent c60b861 commit d378b2f
Show file tree
Hide file tree
Showing 3 changed files with 472 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/search/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ def catalogue():
)


@bp.route("/catalogue-new/")
@cache.cached(key_prefix=cache_key_prefix)
def catalogue_new():
query = request.args["q"] if "q" in request.args else ""
return render_template(
"search/catalogue-new.html",
query=query,
search_path="/search/catalogue/",
)


@bp.route("/website/")
@cache.cached(key_prefix=cache_key_prefix)
def website():
Expand Down
Loading

0 comments on commit d378b2f

Please sign in to comment.