SP Eventum Admin Fixes - Question | JoomShaper

SP Eventum Admin Fixes

TC

Terry Carter

Extension 1 year ago

Please add the following fixes to the admin section of SP Eventum to get filtering / emptying trash working correctly.

Speakers: /administrator/components/com_speventum/models/speakers.php Line:70

if ($status = $this->getState('filter.published')) { if ($status != '*') $query->where($db->quoteName('a.published') . ' = ' . $status); } else { $query->where($db->quoteName('a.published') . ' IN (0,1)'); }

Sessions: /administrator/components/com_speventum/views/sessions/view.html.php Line: 76

if ($state->get('filter.published') == -2 && $canDo->get('core.delete')) { ToolbarHelper::deleteList('','sessions.delete','JTOOLBAR_EMPTY_TRASH'); } elseif ($canDo->get('core.edit.state')) { ToolbarHelper::trash('sessions.trash'); }

For sessions you can't empty trash without the above code. For speakers you can't filter trashed items without the fix above.

0
1 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #105908

Hello Terry Carter

Thanks for sharing the fixes. I have added it to the developer board. It will be applied in the next update.

Best regards

0