Browse Source

At Search All Cards, now it's possible to click found card to open it.

Thanks to xet7 !

Related #2074
Lauri Ojansivu 4 years ago
parent
commit
10f74f5152
1 changed files with 2 additions and 1 deletions
  1. 2 1
      client/components/main/globalSearch.jade

+ 2 - 1
client/components/main/globalSearch.jade

@@ -34,7 +34,8 @@ template(name="globalSearch")
                 span.global-search-error-messages
                   | {{_ msg.tag msg.value }}
           each card in results
-            +resultCard(card)
+            a.minicard-wrapper(href=card.absoluteUrl)
+              +resultCard(card)
       else
         .global-search-instructions
           h1 Search Operators