This update changes the CXGN::Stock::Search->search() function when filtering by stockprop values. The original search used the materialized_stockprop table which did not include the additional stock props added in the editable_stock_props key in the local config file. The search now uses the native stockprops table for the search, so is no longer limited to the hard-coded stock props in the mat view.
This is used by the advanced search (search by another property) feature on the accession search page.
Fixes #3653
Fixes #3284
Checklist
[ ] Refactoring only
[ ] Documentation only
[ ] Fixture update only
[ ] Bug fix
[ ] The relevant issue has been closed.
[ ] Further work is required.
[ ] New feature
[ ] Relevant tests have been created and run.
[ ] Data was added to the fixture
[ ] Data was added via a patch in /t/data/fixture/patches/.
[ ] User-Facing Change
[ ] The user manual in /docs has been updated.
[ ] Any new Perl has been documented using perldoc.
[ ] Any new JavaScript has been documented using JSDoc.
[ ] Any new legacy JavaScript has been moved from /js to /js/source/legacy.
Description
This update changes the CXGN::Stock::Search->search() function when filtering by stockprop values. The original search used the materialized_stockprop table which did not include the additional stock props added in the
editable_stock_props
key in the local config file. The search now uses the native stockprops table for the search, so is no longer limited to the hard-coded stock props in the mat view.This is used by the advanced search (search by another property) feature on the accession search page.
Fixes #3653 Fixes #3284
Checklist
/t/data/fixture/patches/
./docs
has been updated./js
to/js/source/legacy
.