diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-07-18 15:39:10 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-07-18 15:39:10 +0200 |
commit | bddab65ae58e347693b777cccf791201fdbcff4d (patch) | |
tree | 9d3c35c8ab9ef7bfb99ebe95b79c5309a7025112 /client/src/app/shared/search/search.service.ts | |
parent | 0629423ce335137ce77d1ee8fe30fc0eee36d83b (diff) | |
download | PeerTube-bddab65ae58e347693b777cccf791201fdbcff4d.tar.gz PeerTube-bddab65ae58e347693b777cccf791201fdbcff4d.tar.zst PeerTube-bddab65ae58e347693b777cccf791201fdbcff4d.zip |
Client: save page params as well
Diffstat (limited to 'client/src/app/shared/search/search.service.ts')
-rw-r--r-- | client/src/app/shared/search/search.service.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/shared/search/search.service.ts b/client/src/app/shared/search/search.service.ts index 0e41cdd34..c7993db3d 100644 --- a/client/src/app/shared/search/search.service.ts +++ b/client/src/app/shared/search/search.service.ts | |||
@@ -7,9 +7,11 @@ import { Search } from './search.model'; | |||
7 | // Remove it when we'll be able to subscribe to router changes | 7 | // Remove it when we'll be able to subscribe to router changes |
8 | @Injectable() | 8 | @Injectable() |
9 | export class SearchService { | 9 | export class SearchService { |
10 | searchChanged: Subject<Search>; | 10 | searchUpdated: Subject<Search>; |
11 | updateSearch: Subject<Search>; | ||
11 | 12 | ||
12 | constructor() { | 13 | constructor() { |
13 | this.searchChanged = new Subject<Search>(); | 14 | this.updateSearch = new Subject<Search>(); |
15 | this.searchUpdated = new Subject<Search>(); | ||
14 | } | 16 | } |
15 | } | 17 | } |