Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add publish date filters to weblinks module #964

Closed
wants to merge 1 commit into from

1 participant

@Bakual
Owner

The weblink module was showing all weblinks and did not check for start or stop date.
This commit adds this filter.

The same can be patched in for J!2.5. Should I do a separate PR against the 2.5.x branch?

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=29183 for J!2.5
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30505 for J!3.x

@Bakual Bakual Add publish date filters to weblinks module
The weblink module was showing all weblinks and did not check for start or stop date.
This commit adds this filter.
8b57e69
@Bakual
Owner

PR for Joomla 2.5: #966

@mbabker mbabker closed this in 191efb9
@Bakual Bakual deleted the Bakual:patch-1 branch
@garyamort garyamort referenced this pull request from a commit in garyamort/joomla-cms
@Bakual Bakual [#30505] Weblink module ignores end publishing date (Fix #964) 35eacda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 8, 2013
  1. @Bakual

    Add publish date filters to weblinks module

    Bakual authored
    The weblink module was showing all weblinks and did not check for start or stop date.
    This commit adds this filter.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  modules/mod_weblinks/helper.php
View
1  modules/mod_weblinks/helper.php
@@ -37,6 +37,7 @@ public static function getList($params)
$model->setState('list.limit', (int) $params->get('count', 5));
$model->setState('filter.state', 1);
+ $model->setState('filter.publish_date', true);
// Access filter
$access = !JComponentHelper::getParams('com_weblinks')->get('show_noauth');
Something went wrong with that request. Please try again.