Skip to content

Commit 4dd60ec

Browse files
committed
Date by Field fixes
1 parent fb9153b commit 4dd60ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plg_articles_calendar.zip

6 Bytes
Binary file not shown.

plg_articles_calendar/models/com_content/model.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ function getSearchQuery() {
234234
//fields search
235235
require_once(JPATH_BASE . '/modules/mod_articles_calendar/helper.php');
236236
$module_helper = new modArticlesCalendarHelper;
237-
foreach($_GET as $param=>$value) {
237+
foreach($_REQUEST as $param=>$value) {
238238
preg_match('/^field([0-9]+)$/', $param, $matches);
239239
$field_id = $matches[1];
240-
$query_params = $this->input->getVar("field{$field_id}");
240+
$query_params = $_REQUEST["field{$field_id}"];
241241

242242
$sub_query = "SELECT DISTINCT item_id FROM #__fields_values WHERE 1";
243243

0 commit comments

Comments
 (0)