]> git.ipfire.org Git - thirdparty/cups.git/commit
client.c: Fix web UI job queries on Classes/Printers pages 974/head
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 5 Jun 2024 14:13:28 +0000 (16:13 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Wed, 5 Jun 2024 14:13:28 +0000 (16:13 +0200)
commita7eda84da73126e40400e05dd27d57f8c92d5b0d
tree5b4f6d7fec4d0653d0a06e4f84a1f6cbacd4fdce
parent6c57c1f4b541d86bf7294516c688090e807c3d1a
client.c: Fix web UI job queries on Classes/Printers pages

Web UI query on Classes/Printers should support:

- search for class/printer (/?QUERY=)
- manage printers (/?)
- listing jobs for the printer/class (/name?Which_jobs=completed)
- show NOT FOUND for non-existing destinations

The PR reworks the code to fix the 3rd point and support all other at
the same time.

Fixes Apple/CUPS #6204
scheduler/client.c