--- id: 5-5 title: 5-5 Post Search status: Done date: 2026-09-27 parent: 5 --- ## Description As a website visitor, I want to search through blog posts, So that I can find relevant legal articles and information. Context: Integrates with: posts table, public posts listing; Technology: Livewire Volt with real-time search; Follows pattern: Search component pattern. Full implementation history: docs/stories/story-5.5-post-search.md ## Acceptance Criteria - [ ] Search input on posts listing page - [ ] Search by title (both languages) - [ ] Search by body content (both languages) - [ ] Real-time search results (debounced) - [ ] "No results found" message when empty - [ ] Clear search button - [ ] Search works in both Arabic and English - [ ] Only searches published posts - [ ] Search highlights in results - [ ] Search suggestions - [ ] Debounce to reduce server load (300ms) - [ ] Case-insensitive search - [ ] Tests for search functionality