unpublished category filter broken?

Phoca Gallery - image gallery extension
graewulf
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2011, 19:11

unpublished category filter broken?

Post by graewulf »

I have a number of categories which are in an unpublished state. When I upload new photos using the multiple add option, I set them to unpublished, which causes the categories to also remain unpublished, which is what I want. When I go to the categories tab and select "unpublished", I get nothing. If I set it to show all, the new categories are marked as unpublished. Is this a bug or am I missing something?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: unpublished category filter broken?

Post by Jan »

Hi, which version you are using?
If you find Phoca extensions useful, please support the project
graewulf
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2011, 19:11

Re: unpublished category filter broken?

Post by graewulf »

it's version 2.7.6
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: unpublished category filter broken?

Post by Jan »

Hmm, checking the filter state, and it seems ok, the unpublished categories are displayed in case "unpublished" is set. Really no idea what is wrong there? :( :idea:
If you find Phoca extensions useful, please support the project
graewulf
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2011, 19:11

Re: unpublished category filter broken?

Post by graewulf »

Choosing "Published" works, but "unpublished" displays an empty data set (nothing returned).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: unpublished category filter broken?

Post by Jan »

Hmmm, testing it and still Ok :idea:
If you find Phoca extensions useful, please support the project
graewulf
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2011, 19:11

Re: unpublished category filter broken?

Post by graewulf »

Is there somewhere in the database or files that I can look to narrow in on the problem? I have no problem looking behind the scenes if I know where to look.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: unpublished category filter broken?

Post by Jan »

Then you need to see the filtering (published, unpublished) code (php) to test what is wrong there, in category view (or image view) in admin :idea:
If you find Phoca extensions useful, please support the project
Post Reply