aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/search/search.service.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-07-18 15:39:10 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-07-18 15:39:10 +0200
commitbddab65ae58e347693b777cccf791201fdbcff4d (patch)
tree9d3c35c8ab9ef7bfb99ebe95b79c5309a7025112 /client/src/app/shared/search/search.service.ts
parent0629423ce335137ce77d1ee8fe30fc0eee36d83b (diff)
downloadPeerTube-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.ts6
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()
9export class SearchService { 9export 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}