hound-search/hound

Keep repo filter after search

Open

#251 aperta il 24 mag 2017

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (606 fork)batch import
enhancementgood first issuehelp wanted

Metriche repository

Star
 (5470 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor