@php // Client-side arama için her notun aranabilir metnini oluştur $searchHaystack = fn($note) => trim( ($note->title ?? '') . ' ' . strip_tags($note->content ?? '') . ' ' . $note->companies->pluck('name')->implode(' ') . ' ' . $note->labels->pluck('name')->implode(' '), ); $pinnedNotes = $this->filteredNotes->where('is_pinned', true); $otherNotes = $this->filteredNotes->where('is_pinned', false); @endphp
{{ session('success') }}
{{ session('info') }}
{{ session('error') }}