November 4, 2026 · Build 4aa8663f2b91

OPAC advanced-search repair

Koha’s advanced-search form can send weight_search_submitted=1 alongside the actual weighting-checkbox value. RustSearch incorrectly treated that submission marker as an unsupported operation, so an ordinary search could end in a native-compatibility error.

What changes

The adapter validates the marker as form state and removes it from its private compilation copy. Existing query matching, native ranking, filters, sort order and public visibility remain intact. Pagination retains whether the checkbox was checked or unchecked. This repair does not add a new weighting algorithm or claim Zebra ranking equivalence.

Apply the update

  1. Upload the latest complete KPZ through Koha’s plugin manager without uninstalling the existing plugin.
  2. Open the plugin’s Configuration page and run its bundled server setup command for the intended instance with --existing-engine. This refreshes the protected integration and reloads Plack on a compatible schema-7 installation.
  3. Test a single-term advanced OPAC search, a multi-row search, filters and later result pages. Confirm the checkbox state remains as selected.

The engine source and schema are unchanged. This repair needs no engine rebuild, catalog edits or full reindex. Production updates require schema 7 or newer.

Validation

Passed 1,708 Perl assertions and 273 Python tests, with five privileged cases skipped. Regression checks cover checked and unchecked form state, simple and multi-row searches, sort and availability constraints, malformed markers, Rust dispatch and authoritative public item visibility. The customer confirmed the repair worked on the affected installation.

Download current KPZ