Bug 31347

Summary: Suggestion list date filters broken
Product: Koha Reporter: Victor Grousset/tuxayo <victor>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 23991    
Bug Blocks:    

Description Victor Grousset/tuxayo 2022-08-11 23:50:37 UTC
In suggestions: in Filter by: "Suggestion information" the 3 date filters yield these 3 respective errors:

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Unknown column 'suggesteddate_from' in 'where clause' at /kohadevbox/koha/Koha/Objects.pm line 394
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Unknown column 'manageddate_from' in 'where clause' at /kohadevbox/koha/Koha/Objects.pm line 394
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Unknown column 'accepteddate_from' in 'where clause' at /kohadevbox/koha/Koha/Objects.pm line 394

Bisecting showed that it's due to
d533a92aa8283de29dd64cdf698588dd707af353
Bug 23991: Move SearchSuggestion to Koha::Suggestions
Comment 1 Victor Grousset/tuxayo 2022-08-11 23:51:49 UTC

*** This bug has been marked as a duplicate of bug 31158 ***