nextcloud/core
Daniel Calviño Sánchez 0f03afad4c 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:21 +00:00
..
ajax chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
BackgroundJobs fix(lookup-server): Only flag new users for lookup update / delete 2025-03-12 08:06:06 +00:00
Command fix: force lowercase emails 2025-07-11 09:05:47 +02:00
Controller fix: update request token on two-factor pages 2025-06-23 16:01:15 +02:00
css chore(assets): Recompile assets 2025-06-24 19:04:35 +00:00
Data chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Db Merge pull request #47329 from nextcloud/feat/add-datetime-qbmapper-support 2024-10-18 19:05:08 +02:00
doc chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Events chore: Unify user related events to always provide a getUid method 2024-10-15 18:33:11 +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-08 14:31:21 +02:00
js test: remove legacy tests covered by library unit tests 2025-06-18 12:00:48 +02:00
l10n fix(l10n): Update translations from Transifex 2025-07-11 00:12:29 +00:00
Listener chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Middleware chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Migrations fix: revive always storing lowercased email addresses 2025-06-24 14:24:48 +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 07:09:18 +00:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
src fix: Fix clearing unified search when modal is closed 2025-07-17 11:41:21 +00:00
templates fix(profile): Consistent email confirmation success page design 2025-06-25 16:34:45 +00:00
vendor chore: Remove old travis related stuff 2024-09-19 20:16:29 +02:00
.l10nignore chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Application.php perf(db): Extend index on cards_properties to cover name and value 2025-04-24 11:34:07 +00:00
openapi-administration.json feat(files): add mime icon endpoint 2025-01-22 16:29:36 +00:00
openapi-administration.json.license fix(reuse): core/openapi-administration license 2025-01-22 16:29:36 +00:00
openapi-ex_app.json fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
openapi-ex_app.json.license feat(OpenAPI): Add ex_app scope 2024-07-02 09:12:48 +02:00
openapi-full.json feat(profile): Add an API to get the profile field data 2025-04-24 00:50:11 +02:00
openapi-full.json.license feat(TaskProcessingApi): Add endpoint for getting the next task 2024-07-01 17:11:12 +02:00
openapi.json feat(profile): Add an API to get the profile field data 2025-04-24 00:50:11 +02:00
openapi.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
register_command.php feat(occ): Add commands to list all routes and match a single one 2025-06-26 17:12:33 +02:00
ResponseDefinitions.php feat(profile): Add an API to get the profile field data 2025-04-24 00:50:11 +02:00
routes.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
shipped.json fix(profile): make sure the app cannot be disabled as it was in core 2024-11-14 10:25:10 +01:00
shipped.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
strings.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00