]> git.ipfire.org Git - thirdparty/cups.git/commit
client.c: Fix web UI job queries on Classes/Printers pages
authorzdohnal <zdohnal@redhat.com>
Thu, 6 Jun 2024 05:54:22 +0000 (07:54 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Jun 2024 05:54:22 +0000 (07:54 +0200)
commitceac03d5129d2bb25d05f686069ecafae491d3e0
tree5b4f6d7fec4d0653d0a06e4f84a1f6cbacd4fdce
parent6c57c1f4b541d86bf7294516c688090e807c3d1a
parenta7eda84da73126e40400e05dd27d57f8c92d5b0d
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