nextcloud/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 +00:00
..
ajax chore: Add SPDX header 2024-05-10 11:07:50 +02:00
BackgroundJobs chore: apply code style 2025-04-30 19:04:59 +02:00
Command fix: force lowercase emails 2025-07-11 09:05:27 +02:00
Controller fix: update request token on two-factor pages 2025-06-23 16:00:34 +02:00
css chore(assets): Recompile assets 2025-06-25 18:55:19 +02:00
Data chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Db chore: Add SPDX header 2024-05-27 14:53:40 +02:00
doc chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Events chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Exception chore: Add SPDX header 2024-05-27 14:53:40 +02:00
fonts Include additional scripts in Noto fonts 2021-03-01 19:15:01 +01:00
img fix(federatedfilessharing): Use social media icons from core rather than inline SVGs 2024-10-09 15:34:21 +02:00
js test: remove legacy tests covered by library unit tests 2025-06-18 15:21:43 +02:00
l10n fix(l10n): Update translations from Transifex 2025-07-11 00:12:36 +00:00
Listener chore: apply code style 2025-04-30 19:04:59 +02:00
Middleware chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Migrations chore: apply code style 2025-04-30 19:04:59 +02:00
Notification feat(notifications): Migrate server INotifiers to new exceptions 2024-06-25 11:56:24 +02:00
Service fix(loginflow): Fix type error when password could not be decrypted 2025-05-05 09:46:31 +02:00
skeleton
src fix: Fix clearing unified search when modal is closed 2025-07-17 11:41:06 +00:00
templates fix(profile): Consistent email confirmation success page design 2025-06-25 16:34:32 +00:00
vendor chore: Add SPDX header 2024-05-27 14:53:40 +02:00
.l10nignore chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Application.php chore: apply code style 2025-04-30 19:04:59 +02:00
openapi-ex_app.json chore(deps): Update openapi-extractor to v1.0.0 2024-08-21 11:21:33 +00:00
openapi-ex_app.json.license feat(OpenAPI): Add ex_app scope 2024-07-02 09:12:48 +02:00
openapi-full.json chore(deps): Update openapi-extractor to v1.0.0 2024-08-21 11:21:33 +00:00
openapi-full.json.license feat(TaskProcessingApi): Add endpoint for getting the next task 2024-07-01 17:11:12 +02:00
openapi.json chore(deps): Update openapi-extractor to v1.0.0 2024-08-21 11:21:33 +00:00
openapi.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
register_command.php feat: Add user:welcome command 2025-03-26 15:53:57 +00:00
ResponseDefinitions.php fix(taskprocessing): fix cs issues and generate autoloaders 2024-07-25 10:10:32 +02:00
routes.php chore: apply code style 2025-04-30 19:04:59 +02:00
shipped.json feat: add app_api to shipped and default enabled apps 2024-09-26 13:27:08 +00:00
shipped.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
strings.php chore: apply code style 2025-04-30 19:04:59 +02:00