Merge branch 'dev' into dev-ars
This commit is contained in:
commit
b400f22844
5 changed files with 25 additions and 21 deletions
|
|
@ -267,7 +267,7 @@ func (s Server) GetTitles(ctx context.Context, request oapi.GetTitlesRequestObje
|
|||
if request.Params.Sort != nil {
|
||||
switch string(*request.Params.Sort) {
|
||||
case "year":
|
||||
tmp := fmt.Sprint("%d", *t.ReleaseYear)
|
||||
tmp := fmt.Sprint(*t.ReleaseYear)
|
||||
new_cursor.Param = &tmp
|
||||
case "rating":
|
||||
tmp := strconv.FormatFloat(*t.Rating, 'f', -1, 64)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue