#5692 - Undefined array offset when sorting catalogues by date field
| Identifier | #5692 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Undefined array offset when sorting catalogues by date field |
| Status | Completed |
| Handling member | PDStig |
| Version | 11 alpha1 |
| Addon | catalogues |
| Description | When sorting catalogues by a date-only field, an undefined array offset error is triggered in sources/catalogues.php . This is because the code was assuming a time bit would always be provided, which is not the case for date-only fields. Fix this so that if the time bit is not included, we default to midnight. |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments