Skip to content

Commit f19591f

Browse files
committed
Make the link to the online catalog contain author and title
1 parent 7a6912c commit f19591f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/clj/catalog/layout/fop.clj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,10 @@
253253
(defmethod entry-heading-sexp :default
254254
[{:keys [creator record-id title subtitles name-of-part source-publisher source-date]}]
255255
(block {:keep-with-next.within-column "always" :role "Lbl"}
256-
(bold (wrap creator "" ": " false)
257-
(link-to-online-catalog record-id (layout/periodify title)))
256+
(bold
257+
(link-to-online-catalog
258+
record-id
259+
(str (wrap creator "" ": " false) (layout/periodify title))))
258260
(when subtitles " ")
259261
(layout/render-subtitles subtitles)
260262
(wrap name-of-part " ")

0 commit comments

Comments
 (0)