-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
override relevance with publisted_at
- Loading branch information
1 parent
9caa0db
commit 075fecf
Showing
5 changed files
with
46 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
package torznab | ||
|
||
import ( | ||
"github.com/bitmagnet-io/bitmagnet/internal/database/search" | ||
"github.com/bitmagnet-io/bitmagnet/internal/model" | ||
) | ||
|
||
type SearchRequest struct { | ||
Query string | ||
Type string | ||
Cats []int | ||
ImdbId model.NullString | ||
TmdbId model.NullString | ||
Season model.NullInt | ||
Episode model.NullInt | ||
Attrs []string | ||
Extended bool | ||
Limit model.NullUint | ||
Offset model.NullUint | ||
OrderBy search.TorrentContentOrderBy | ||
OrderDirection search.OrderDirection | ||
Tags []string | ||
PermaLinkBase string | ||
Query string | ||
Type string | ||
Cats []int | ||
ImdbId model.NullString | ||
TmdbId model.NullString | ||
Season model.NullInt | ||
Episode model.NullInt | ||
Attrs []string | ||
Extended bool | ||
Limit model.NullUint | ||
Offset model.NullUint | ||
Profile Profile | ||
} |