]> BookStack Code Mirror - bookstack/commit
Entity selector: Fixed initial load overwriting initial search
authorDan Brown <redacted>
Tue, 23 Jan 2024 15:39:09 +0000 (15:39 +0000)
committerDan Brown <redacted>
Tue, 23 Jan 2024 15:42:13 +0000 (15:42 +0000)
commit69c8ff5c2d491d8674e2671a912a025cf16f86d3
treed4702675a59badc84b6a4e240c46abe8450bd81b
parent788327fffb044a03ccc490be0bcddd48e3551b01
Entity selector: Fixed initial load overwriting initial search

This changes how initial searches can be handled via config rather than
specific action so they can be considered in how the initial data load
is done, to prevent the default empty state loading and overwriting the
search data if it lands later (which was commonly likely).

For #4778
resources/js/components/entity-selector-popup.js
resources/js/components/entity-selector.js
resources/js/components/page-picker.js
resources/js/markdown/actions.js
resources/js/wysiwyg/config.js
resources/js/wysiwyg/shortcuts.js