Page 1 of 1

Problems with Admin Category filter search

Posted: 30 Mar 2012, 19:39
by geoffc
Jan,

There is a problem with the filter search on the Category search if you enter some of the text in the sub category name as the search criteria.

The problem is with the ProcessTree code call in the view.html file in the Phocadownloadcats view.

i.e If one has a category set up as follows:

Top Category
Sub category

It is displayed normally as: 'Top Category - Sub Category'

If you then enter a filter search value of 'Sub' it is unable to find any entries.
The reason (I think) is that because the parent category ('Top Category') is not in the result set ($rows) the ProcessTree code doesn't return any rows.

It is possible to cludge it if there is a single record by plugging the 'parent_id' into the third parameter ($id) field but this is not a good solution.

I hope I have explained this clearly enough and that you can understand it.

Regards
Geoff.

Re: Problems with Admin Category filter search

Posted: 02 Apr 2012, 23:42
by Jan
Hi, yes this is known issue, because of the tree, it only looks for parent categories :-( (more info in similar posts in this forum)

Jan