diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-24 10:13:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-24 14:04:05 +0200 |
commit | cddf45035389cc7d9003ea2b64fff3c28cd368d9 (patch) | |
tree | 89e1485a34264b6a2d8052c4cc0c179cbfbd8381 /client/src/app/search/search-filters.component.html | |
parent | 8cd72bd37724054f8942f2fefc7aa2e60eca74cf (diff) | |
download | PeerTube-cddf45035389cc7d9003ea2b64fff3c28cd368d9.tar.gz PeerTube-cddf45035389cc7d9003ea2b64fff3c28cd368d9.tar.zst PeerTube-cddf45035389cc7d9003ea2b64fff3c28cd368d9.zip |
Add ability to sort the search
Diffstat (limited to 'client/src/app/search/search-filters.component.html')
-rw-r--r-- | client/src/app/search/search-filters.component.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/app/search/search-filters.component.html b/client/src/app/search/search-filters.component.html index f8b3675e5..74bb781f4 100644 --- a/client/src/app/search/search-filters.component.html +++ b/client/src/app/search/search-filters.component.html | |||
@@ -3,6 +3,15 @@ | |||
3 | <div class="row"> | 3 | <div class="row"> |
4 | <div class="col-lg-4 col-md-6 col-xs-12"> | 4 | <div class="col-lg-4 col-md-6 col-xs-12"> |
5 | <div class="form-group"> | 5 | <div class="form-group"> |
6 | <div i18n class="radio-label">Sort</div> | ||
7 | |||
8 | <div class="peertube-radio-container" *ngFor="let sort of sorts"> | ||
9 | <input type="radio" name="sort" [id]="sort.id" [value]="sort.id" [(ngModel)]="advancedSearch.sort"> | ||
10 | <label [for]="sort.id" class="radio">{{ sort.label }}</label> | ||
11 | </div> | ||
12 | </div> | ||
13 | |||
14 | <div class="form-group"> | ||
6 | <div i18n class="radio-label">Published date</div> | 15 | <div i18n class="radio-label">Published date</div> |
7 | 16 | ||
8 | <div class="peertube-radio-container" *ngFor="let date of publishedDateRanges"> | 17 | <div class="peertube-radio-container" *ngFor="let date of publishedDateRanges"> |