0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
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
App.css
App.js 🌐 Added ⬅️RTL to sodo-search & improved tests (#21152) 2024-10-01 18:04:54 +00:00
App.test.js
AppContext.js 🌐 Added ⬅️RTL to sodo-search & improved tests (#21152) 2024-10-01 18:04:54 +00:00
index.css
index.js
logo.svg
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