mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Removed Global Search related code that caused Snap to not build.
Thanks to xet7 ! Related https://github.com/wekan/wekan/pull/3492
This commit is contained in:
parent
e0576502d9
commit
442a7b0fcd
2 changed files with 1 additions and 6 deletions
|
@ -34,7 +34,7 @@ template(name="globalSearch")
|
|||
else
|
||||
h1
|
||||
= resultsHeading.get
|
||||
a.fa.fa-link(title="{{_ 'link-to-search' }}" href="{{ getSearchHref }}")
|
||||
a.fa.fa-link(title="{{_ 'link-to-search' }}" href="")
|
||||
each card in results.get
|
||||
+resultCard(card)
|
||||
table.global-search-footer
|
||||
|
|
|
@ -480,11 +480,6 @@ BlazeComponent.extendComponent({
|
|||
});
|
||||
},
|
||||
|
||||
getSearchHref() {
|
||||
const baseUrl = window.location.href.replace(/([?#].*$|\s*$)/, '');
|
||||
return `${baseUrl}?q=${encodeURIComponent(this.query.get())}`;
|
||||
},
|
||||
|
||||
searchInstructions() {
|
||||
tags = {
|
||||
operator_board: TAPi18n.__('operator-board'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue