maybe it is possible to implement this to root/components/com_content/category/blog.xml
around line 270 ?
<field
name="order_date"
type="list"
description="JGLOBAL_ORDERING_DATE_DESC"
label="JGLOBAL_ORDERING_DATE_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="created">JGLOBAL_CREATED</option>
<option value="modified">JGLOBAL_MODIFIED</option>
<option value="published">JPUBLISHED</option>
<option value="unpublished">JUNPUBLISHED</option>
</field>
and then add in root/components/com_content/helpers/query.php
around line 170 this
case 'unpublished' :
$queryDate = ' CASE WHEN a.publish_down = ' . $db->quote($db->getNullDate()) . ' THEN a.created ELSE a.publish_down END ';
break;
i think in J3.5 this used to work now it doesnt anymore
Maybe i am wrong posting this here?
@brianteeman It's what he wrote under "Additional comments".
@dietze6 It's probably better to open a new issue for that request since you asked two different things in this issue.
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-19 17:32:12 |
Closed_By | ⇒ | brianteeman |
custom fields can't be used to order or filter lists. If you need that, you have to use a full CCK.