diff --git a/admin.html b/admin.html
index 073f2c4..b5c0d2f 100644
--- a/admin.html
+++ b/admin.html
@@ -367,6 +367,9 @@
@@ -713,6 +716,14 @@
`).join('');
}
+ function filterPostList() {
+ const q = document.getElementById('postSearch').value.toLowerCase();
+ document.querySelectorAll('#postList .post-item').forEach(el => {
+ const text = el.querySelector('h3').textContent.toLowerCase();
+ el.style.display = text.includes(q) ? '' : 'none';
+ });
+ }
+
// ===========================
// TOAST
// ===========================