Ghost/apps/sodo-search/src
Cathy Sarisky 967cf23091
🐛 Fixed search state bug & missing last result (#21417)
closes #21343 

This fixes an issue in sodo-search where early results (for example,
matching the first letter typed in the search box) would get "stuck" in
the display, due to failure to update state (or actually, lacking
state).

Converted PostItems to a component, and gave paginatedPosts state.

I also fixed an undocumented bug where the last search result didn't
appear, due to an error in with slice's register.
2024-10-28 12:50:15 +07:00
..
components 🐛 Fixed search state bug & missing last result (#21417) 2024-10-28 12:50:15 +07:00
icons Moved Sodo-Search into apps/ 2023-06-14 12:10:57 +02:00
App.css Moved Sodo-Search into apps/ 2023-06-14 12:10:57 +02:00
App.js 🌐 Added ⬅️RTL to sodo-search & improved tests (#21152) 2024-10-01 18:04:54 +00:00
App.test.js Updated ESLint config for React+Typescript packages 2023-07-27 11:40:31 +02:00
AppContext.js 🌐 Added ⬅️RTL to sodo-search & improved tests (#21152) 2024-10-01 18:04:54 +00:00
index.css Moved Sodo-Search into apps/ 2023-06-14 12:10:57 +02:00
index.js Added i18n support to search - ready for translator work! (#21055) 2024-09-24 12:39:32 +01:00
logo.svg Moved Sodo-Search into apps/ 2023-06-14 12:10:57 +02:00
search-index.js 🌐 Added ⬅️RTL to sodo-search & improved tests (#21152) 2024-10-01 18:04:54 +00:00
search-index.test.js 🌐 Added ⬅️RTL to sodo-search & improved tests (#21152) 2024-10-01 18:04:54 +00:00
setupTests.js Converted CRA packages to Vite 2023-07-27 09:43:35 +02:00