This commit is contained in:
blankie 2022-10-08 22:55:18 +07:00
parent 2cd489658a
commit 915b4a6ad5
Signed by: blankie
GPG key ID: CC15FC822C7F61F5

View file

@ -118,9 +118,9 @@
(if (not (jp "/exists" media-detail #f)) (if (not (jp "/exists" media-detail #f))
(next-dispatcher) (next-dispatcher)
(response-handler (response-handler
(define title (jp "/fileTitle" media-detail "")) (define file-title (jp "/fileTitle" media-detail ""))
(define title (if (non-empty-string? title) (define title (if (non-empty-string? file-title)
(format "File:~a" title) (format "File:~a" file-title)
prefixed-title)) prefixed-title))
(define body (generate-results-page (define body (generate-results-page
#:source-url source-url #:source-url source-url