mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-08 07:21:03 +08:00
Fix handling of ' in global search frontend [SCI-11597]
This commit is contained in:
parent
21c6dbb0ce
commit
c79bbb473e
1 changed files with 2 additions and 2 deletions
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
<div id="GlobalSearch" class="contents">
|
||||
<global_search
|
||||
:query="'<%= @display_query %>'"
|
||||
query="<%= @display_query %>"
|
||||
:search-url="'<%= search_path(format: :json) %>'"
|
||||
teams-url="<%= visible_teams_teams_path %>"
|
||||
users-url="<%= visible_users_teams_path %>"
|
||||
:single-team="<%= current_user.teams.count == 1 %>"
|
||||
current-team="<%= current_team.id %>"
|
||||
:current-team="<%= current_team.id %>"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue