diff --git a/PeerTube b/PeerTube
index cffa06f..28be9d1 160000
--- a/PeerTube
+++ b/PeerTube
@@ -1 +1 @@
-Subproject commit cffa06fd28bbfb03980bc7d151cfd93130c3daaf
+Subproject commit 28be9d1d3ee92db7c9fd84c82e4ea20900eab0f5
diff --git a/client/src/models/search-url.model.ts b/client/src/models/search-url.model.ts
index e7c8d3b..e03c1ac 100644
--- a/client/src/models/search-url.model.ts
+++ b/client/src/models/search-url.model.ts
@@ -1,6 +1,7 @@
export interface SearchUrl {
search?: string
nsfw?: string
+ host?: string
publishedDateRange?: string
durationRange?: string
categoryOneOf?: number[]
diff --git a/client/src/scss/main.scss b/client/src/scss/main.scss
index f21e6ec..0aa8a60 100644
--- a/client/src/scss/main.scss
+++ b/client/src/scss/main.scss
@@ -1,6 +1,8 @@
@import "_variables";
@import "./progress";
+$border-input-color: #C6C6C6;
+
* {
box-sizing: border-box;
}
@@ -94,7 +96,7 @@ body {
select {
padding: 0 35px 0 12px;
position: relative;
- border: 1px solid #C6C6C6;
+ border: 1px solid $border-input-color;
background: transparent none;
appearance: none;
cursor: pointer;
@@ -117,6 +119,15 @@ body {
}
}
+.classic-input-text {
+ display: block;
+ min-height: 30px;
+ width: 100%;
+ border: 1px solid $border-input-color;
+ padding: 0 35px 0 12px;
+ outline: 0;
+}
+
.results {
.root-result {
display: flex;
diff --git a/client/src/shared/search.ts b/client/src/shared/search.ts
index 78866ad..5205a16 100644
--- a/client/src/shared/search.ts
+++ b/client/src/shared/search.ts
@@ -1,11 +1,10 @@
import axios from 'axios'
-import { VideoPlaylistsSearchQuery } from '../../../PeerTube/shared/models'
-import { ResultList } from '../../../PeerTube/shared/models/result-list.model'
+import { ResultList, VideoPlaylistsSearchQuery } from '../../../PeerTube/shared/models'
import { VideoChannelsSearchQuery } from '../../../PeerTube/shared/models/search/video-channels-search-query.model'
import { VideosSearchQuery } from '../../../PeerTube/shared/models/search/videos-search-query.model'
import { EnhancedVideoChannel } from '../../../server/types/channel.model'
-import { EnhancedVideo } from '../../../server/types/video.model'
import { EnhancedPlaylist } from '../../../server/types/playlist.model'
+import { EnhancedVideo } from '../../../server/types/video.model'
import { buildApiUrl } from './utils'
const baseVideosPath = '/api/v1/search/videos'
diff --git a/client/src/views/Search.vue b/client/src/views/Search.vue
index 84eeca6..7ec08cf 100644
--- a/client/src/views/Search.vue
+++ b/client/src/views/Search.vue
@@ -160,6 +160,12 @@
+
+
+
+
+
+