feat: admin Smart Search module — backend search across all Joomla content #245

Open
opened 2026-06-23 15:22:07 +00:00 by jmiller · 1 comment
Owner

Admin Smart Search Module

Overview

Admin backend module that provides a search bar powered by Joomla's Smart Search (com_finder) index. Allows administrators to quickly find articles, categories, menu items, modules, and other indexed content without leaving the admin panel.

Core Features

  • Search bar module — compact search input in admin toolbar or cpanel position
  • Smart Search integration — queries #__finder_links and #__finder_terms tables
  • Live search / autocomplete — AJAX-powered suggestions as you type
  • Result categories — group results by type (articles, categories, contacts, menu items, etc.)
  • Direct edit links — search results link directly to the admin edit form for each item
  • Scope filtering — filter by content type, category, language, or state
  • Keyboard shortcut — Ctrl+K or / to focus the search bar
  • Recent searches — remember and quick-access recent queries

Architecture

  • Admin module (mod_mokosuiteclient_search) in toolbar/status position
  • AJAX endpoint via component controller for live search queries
  • Queries Joomla's #__finder_links table (requires Smart Search indexer to be active)
  • Falls back to direct DB search on #__content, #__categories, #__menu if finder not indexed
  • Results rendered as dropdown with icons per content type

Database

No custom tables — queries existing Joomla Smart Search tables:

  • #__finder_links — indexed content items
  • #__finder_terms — search terms index
  • #__finder_links_terms — term-to-content mapping

UI

  • Compact search input with magnifying glass icon
  • Dropdown results panel with category headers
  • Each result shows: icon, title, type badge, edit link
  • Empty state: "No results" or "Smart Search not indexed"

Dependencies

  • Joomla Smart Search (com_finder) should be enabled and indexed
  • Graceful degradation when finder is not available
## Admin Smart Search Module ### Overview Admin backend module that provides a search bar powered by Joomla's Smart Search (com_finder) index. Allows administrators to quickly find articles, categories, menu items, modules, and other indexed content without leaving the admin panel. ### Core Features - **Search bar module** — compact search input in admin toolbar or cpanel position - **Smart Search integration** — queries `#__finder_links` and `#__finder_terms` tables - **Live search / autocomplete** — AJAX-powered suggestions as you type - **Result categories** — group results by type (articles, categories, contacts, menu items, etc.) - **Direct edit links** — search results link directly to the admin edit form for each item - **Scope filtering** — filter by content type, category, language, or state - **Keyboard shortcut** — Ctrl+K or / to focus the search bar - **Recent searches** — remember and quick-access recent queries ### Architecture - **Admin module** (`mod_mokosuiteclient_search`) in toolbar/status position - **AJAX endpoint** via component controller for live search queries - Queries Joomla's `#__finder_links` table (requires Smart Search indexer to be active) - Falls back to direct DB search on `#__content`, `#__categories`, `#__menu` if finder not indexed - Results rendered as dropdown with icons per content type ### Database No custom tables — queries existing Joomla Smart Search tables: - `#__finder_links` — indexed content items - `#__finder_terms` — search terms index - `#__finder_links_terms` — term-to-content mapping ### UI - Compact search input with magnifying glass icon - Dropdown results panel with category headers - Each result shows: icon, title, type badge, edit link - Empty state: "No results" or "Smart Search not indexed" ### Dependencies - Joomla Smart Search (com_finder) should be enabled and indexed - Graceful degradation when finder is not available
jmiller added this to the v03.00.00 milestone 2026-06-23 15:22:07 +00:00
Author
Owner

Branch created: feature/245-feat-admin-smart-search-module-backend-s

git fetch origin
git checkout feature/245-feat-admin-smart-search-module-backend-s
Branch created: [`feature/245-feat-admin-smart-search-module-backend-s`](https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteClient/src/branch/feature/245-feat-admin-smart-search-module-backend-s) ```bash git fetch origin git checkout feature/245-feat-admin-smart-search-module-backend-s ```
Sign in to join this conversation.
No labels
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteClient#245