SP Eventum Admin Fixes - Forum | JoomShaper
Staff replied Extensions

SP Eventum Admin Fixes

Asked by Terry Carter 3 years ago Last activity 3 years 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.

1 reply

Ofi Khan Staff

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

Log in to reply.