Backend Category Search not working

Phoca Gallery - image gallery extension
MAD King
Phoca Member
Phoca Member
Posts: 22
Joined: 22 Sep 2014, 20:25
Location: Tennessee

Backend Category Search not working

Post by MAD King »

Hi,

when I try to search for a category (which is in the system) in the backend, it comes up with no results.
Tried to find something about here in the forum, but could not.

Thank you

Joomla 3.3.4 and Phoca gallery 4.1.1
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Backend Category Search not working

Post by Jan »

Hi, hmm, testing now and it is working OK for me, e.g. when I add "bx" to category filter, I get bxSlider only displayed in the category list

Or which search you exactly mean?

Jan
If you find Phoca extensions useful, please support the project
MAD King
Phoca Member
Phoca Member
Posts: 22
Joined: 22 Sep 2014, 20:25
Location: Tennessee

Re: Backend Category Search not working

Post by MAD King »

When I try to search for a category, it shows me zero results, knowing that the category exists.


Image

Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Backend Category Search not working

Post by Jan »

Hi, now I understand, only parent categories can be filtered, this is due the creation of the tree, this means, the filter can apply only parent category.

Jan
If you find Phoca extensions useful, please support the project
MAD King
Phoca Member
Phoca Member
Posts: 22
Joined: 22 Sep 2014, 20:25
Location: Tennessee

Re: Backend Category Search not working

Post by MAD King »

Thank you Jan. Would be nice to have such a function.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Backend Category Search not working

Post by Jan »

Hi, there is a problem with sql query - building a tree from search a subcategory can be problematic for memory, it is not about finding the subcategory but the tree needs to be created and it needs to fit the ordering criteria (build the tree so it can be right ordered in administration) :-(

Jan
If you find Phoca extensions useful, please support the project
MAD King
Phoca Member
Phoca Member
Posts: 22
Joined: 22 Sep 2014, 20:25
Location: Tennessee

Re: Backend Category Search not working

Post by MAD King »

Jan, I do not know exactly what you mean. The galleries are sorted and listed alphabetically in the backend in the Phoca Component..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Backend Category Search not working

Post by Jan »

Hi, yes, but the categories CAN have a tree form - means that you sort parent categories by e.g. title but the subcategories of them are displayed below the parent categories - and we are now talking about filtering - filtering means a specific sql query in database - to find the searched category but as I wrote, we don't have a problem to find the category or subcategory but we have problem to find/order it together with building the tree.

Subcategory Abc cannot be ordered before Def when it is some subcategories of other parent category because of the tree. When it will be parent category it will be ordered after Abc. So tree vs. ordering

Jan
If you find Phoca extensions useful, please support the project
MAD King
Phoca Member
Phoca Member
Posts: 22
Joined: 22 Sep 2014, 20:25
Location: Tennessee

Re: Backend Category Search not working

Post by MAD King »

Thank you Jan. I understood this, but how do I build a tree?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Backend Category Search not working

Post by Jan »

Hi, there is no problem with building tree, it is built, there is a problem witch searching/filtering when tree is used (which is used for the category in Phoca Gallery)

Jan
If you find Phoca extensions useful, please support the project
Post Reply