mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-05 04:03:45 +08:00
Fix handling of '&' in quick search [SCI-11454]
This commit is contained in:
parent
bd929d9c9f
commit
4bc4a9a2b4
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ export default {
|
|||
return;
|
||||
}
|
||||
|
||||
window.open(`${this.searchUrl}?q=${this.searchQuery}&teams[]=${this.currentTeam}&include_archived=true`, '_self');
|
||||
window.open(`${this.searchUrl}?q=${encodeURIComponent(this.searchQuery)}&teams[]=${this.currentTeam}&include_archived=true`, '_self');
|
||||
},
|
||||
focusHistoryItem(event) {
|
||||
if (this.focusedHistoryItem === null && (event.key === 'ArrowDown' || event.key === 'ArrowUp')) {
|
||||
|
|
Loading…
Reference in a new issue