CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#8250] action=browsecat where category="cat_name*"

avatar
Created By: Jack Skiba (nidus)
Date Submitted: Tue Aug 14 15:07:19 -0400 2012

Assigned To:
Version: 1.11.1
CMSMS Version: None
Severity: Major
Resolution: Awaiting Response
State: Closed
Summary:
action=browsecat where category="cat_name*"
Detailed Description:
the new class.news_ops.php does not check for children of a category, using
category name and * always returns count = 0
previous version was checking for * and run comparison on a long_name


History

Comments
avatar
Date: 2012-08-14 21:39
Posted By: Robert Campbell (calguy1000)

This was not a feature that was documented.  If it worked in the past does not
mean it was intended to work.  Please clarify.
      
avatar
Date: 2012-08-15 09:41
Posted By: Jack Skiba (nidus)

it is a documented feature:
"(optional) category="category" - Used in the summary view to display only items
for the specified categories. Use * after the name to show children. ..."

also, previous version deal with it like:

if (strpos($onecat, '|') !== FALSE || strpos($onecat, '*') !== FALSE)
$query .= "upper(long_name) like upper('". trim(str_replace('*', '%',
$onecat)) . "')";
      
avatar
Date: 2012-08-15 10:27
Posted By: Robert Campbell (calguy1000)

It mentions the summary view, not the browsecat view..... still invalid.
      
avatar
Date: 2012-08-16 10:52
Posted By: Jack Skiba (nidus)

yes but the problem is it doesn't work in summary view either. the re is
consideration in new version for summery view with category specified with *.
      
Updates

Updated: 2014-03-14 23:43
cmsms_version_id: 29730 => -1
state: Open => Closed

Updated: 2012-08-15 09:41
resolution_id: 9 => 10

Updated: 2012-08-14 21:39
resolution_id: => 9