Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgeiss0702 committed Jan 17, 2025
1 parent c922a20 commit afccd20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/search/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export const load = (async ({fetch, url, cookies}) => {
throw redirect(302, "/search?q=" + encodeURIComponent(q) + "&title=on&topics=on&transcripts=on")
}

const before = sp.get("before").replaceAll("-", "");
const after = sp.get("after").replaceAll("-", "");
const before = sp.get("before")?.replaceAll("-", "");
const after = sp.get("after")?.replaceAll("-", "");

const urlSort = sp.get("sort")
let sort = "_text_match(buckets: 30):desc,sortWeight:desc,_text_match:desc";
Expand Down

0 comments on commit afccd20

Please sign in to comment.