Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ func handleSearch(w http.ResponseWriter, r *http.Request) {
) AS thumb_remote_file_id
FROM album a
JOIN ripper r ON r.ripper_id = a.ripper_id
WHERE a.gid = ?
WHERE a.gid COLLATE NOCASE = ?
ORDER BY a.album_id DESC
`, searchQuery)
if err != nil {
Expand Down Expand Up @@ -1697,7 +1697,7 @@ func handleSearch(w http.ResponseWriter, r *http.Request) {
FROM remote_file rf
JOIN ripper r ON r.ripper_id = rf.ripper_id
LEFT JOIN mime_type mt ON mt.mime_type_id = rf.mime_type_id
WHERE rf.urlid = ?
WHERE rf.urlid COLLATE NOCASE = ?
AND rf.fetched = 1
AND rf.ignored = 0
ORDER BY rf.remote_file_id DESC
Expand Down