EBMS Tickets

Issue Number 737
Summary Missing field in query for Articles Without Responses report
Created 2023-02-27 11:38:32
Issue Type Bug
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-03-06 13:53:17
Resolution Fixed
Path /home/bkline/backups/jira/oceebms/issue.339503
Description

The topic_id field is only added to the results set fields when the sort is by topic, but the field is used for building the rows for the report regardless of the sort. See line 335 of ArticlesWithoutResponsesReport.php in {}ebms_report/src/Form{}.

Comment entered 2023-02-27 11:41:41 by Kline, Bob (NIH/NCI) [C]

In that same file, line 132 tries to access $params['tags'] which isn't always set. Change to:

 {code:php}
'#default_value' => $params['tags'] ?? [],

Comment entered 2023-03-06 13:53:17 by Kline, Bob (NIH/NCI) [C]
Comment entered 2023-04-06 11:26:39 by Kline, Bob (NIH/NCI) [C]

Elapsed: 0:00:00.000646