hound-search/hound

Keep repo filter after search

Open

#251 opened on 2017年5月24日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (5,470 stars) (606 forks)batch import
enhancementgood first issuehelp wanted

説明

Problem Description

Hound UI does not keep the repo filter after reload or redirect to the website

Steps to reproduce

  1. go to hound website
  2. filter for a specific repo
  3. press search
  • filter for repo is applied correctly
  1. press f5 and search again
  • filter is removed

Expected behavior

  • Repo filter is applied correctly after reload

I want to use hound search for a specific repo by linking directly to: [[https://hound.local/?repos=my-repo]]

Unfortunately after doing so the search term will again be searched over all repos.

I tried to fix it but the ui code in ui/assets/js/hound.js is too complex for me. It seems that the params are not overwritten correctly when the website is reloaded.

Regards

コントリビューターガイド