Skip to content

[BUG] WebUI/Audit: Search not using search term #383

@larsen0815

Description

@larsen0815

Describe the bug
On the audit page, when I search for any term, nothing changes. In the mail log, there is a new entry showing that the search term wasn't used:

piler-webui[1027]: sphinx query: 'SELECT * FROM audit1  ORDER BY `ts` DESC LIMIT 0,20 OPTION max_matches=1000' in 0.00 s, 20 hits, 354 total found

I suspect there is a problem in "webui/model/audit/audit.php".
Also, the page shows a "Preview Pane" which probably isn't used here and stems from the list of mails.

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://piler.example.com/index.php?route=audit/audit
  2. Enter "test" as the search term
  3. Click on 'Search'
  4. Check mail log

Expected behavior
Only audit entries containing "test" should be shown.

Piler version:
piler 1.4.8-1623bbf3, Build Date: Mon Dec 15 08:20:38 UTC 2025
ldd version: ldd (Ubuntu GLIBC 2.39-0ubuntu8.6) 2.39
gcc version: gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
OS: Linux 16eda7e1e640 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Configure command: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-database=mariadb
MySQL client library version: 3.3.16
Extractors: /usr/bin/pdftotext /usr/bin/catdoc /usr/bin/catppt /usr/bin/xls2csv /usr/bin/unrtf /usr/bin/tnef libzip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions