hound-search/hound

Keep repo filter after search

Open

#251 建立於 2017年5月24日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (5,470 star) (606 fork)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

貢獻者指南

Keep repo filter after search · hound-search/hound#251 | Good First Issue