nextcloud-server/core
Daniel Calviño Sánchez ea02e34bfc fix: Fix clearing unified search when modal is closed
The unified search modal was intended to be cleared when closed.
However, "UnifiedSearchModal" did not emit "update:query" when its
internal query value ("searchQuery") changed, so "UnifiedSearch.query"
was kept as an empty string. When the modal was closed "update:query"
was emitted with an empty string, which should have cleared
"UnifiedSearch.query" and that, in turn, should have cleared the modal.
However as "UnifiedSearch.query" was already an empty string the watcher
that updates "UnifiedSearchModal.searchQuery" from "UnifiedSearch.query"
was not triggered and the modal was not cleared.

As "UnifiedSearch.query" is now updated with the value of
"UnifiedSearchModal.searchQuery" the latter can not be trimmed when
updated from the former, as that would in turn also trim
"UnifiedSearchModal.searchQuery" and prevent to search for anything with
spaces at the beginning or end (even if those trailing spaces are just
temporary while writing something like "searched value").

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-17 11:41:06 +07:00
..
BackgroundJobs chore: apply code style 2025-04-30 19:04:59 +07:00
Command fix: force lowercase emails 2025-07-11 09:05:27 +07:00
Controller fix: update request token on two-factor pages 2025-06-23 16:00:34 +07:00
Data
Db
Events
Exception
Listener chore: apply code style 2025-04-30 19:04:59 +07:00
Middleware
Migrations chore: apply code style 2025-04-30 19:04:59 +07:00
Notification
Service fix(loginflow): Fix type error when password could not be decrypted 2025-05-05 09:46:31 +07:00
ajax
css chore(assets): Recompile assets 2025-06-25 18:55:19 +07:00
doc
fonts
img fix(federatedfilessharing): Use social media icons from core rather than inline SVGs 2024-10-09 15:34:21 +07:00
js test: remove legacy tests covered by library unit tests 2025-06-18 15:21:43 +07:00
l10n fix(l10n): Update translations from Transifex 2025-07-11 00:12:36 +07:00
skeleton
src fix: Fix clearing unified search when modal is closed 2025-07-17 11:41:06 +07:00
templates fix(profile): Consistent email confirmation success page design 2025-06-25 16:34:32 +07:00
vendor
.l10nignore
Application.php chore: apply code style 2025-04-30 19:04:59 +07:00
ResponseDefinitions.php
openapi-ex_app.json
openapi-ex_app.json.license
openapi-full.json
openapi-full.json.license
openapi.json
openapi.json.license
register_command.php feat: Add user:welcome command 2025-03-26 15:53:57 +07:00
routes.php chore: apply code style 2025-04-30 19:04:59 +07:00
shipped.json feat: add app_api to shipped and default enabled apps 2024-09-26 13:27:08 +07:00
shipped.json.license
strings.php chore: apply code style 2025-04-30 19:04:59 +07:00