Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After creating an album in the photo upload page, the albums drop-down list contains all of them. #3

Open
jake284773 opened this issue Jun 3, 2013 · 2 comments
Labels

Comments

@jake284773
Copy link

In the photo upload page:
When I create an album the entries in the album drop-down list, the list gets replaced with all of the albums in the gallery. This is not the intended behaviour because it now shows albums which the user cannot modify or add to.

The list is okay before I add an album. The quickest solution at the moment is to refresh the page. But that isn't the best solution.


Upon further investigation I found out that when the album is created the drop-down list is replaced with the full list of albums in the gallery using the JSON API (ws.php?format=json&method=pwg.categories.getList).

I don't know if the above information helps, but I presume some sort of filtering needs to happen after the album is created. Similar to how the photo upload page is loaded initially. And obviously the community plugin is linked with this.

@jake284773
Copy link
Author

I didn't realise this was a known problem.
My apologies.

@icy
Copy link
Owner

icy commented Jun 4, 2013

Hi jmoreman,

Yes this is a known problem and we can keep this ticket open until it's really fixed.

My plugin tries to replace session data generated by Piwigo and the community plugin. However, when the new album is created it seems that my plugin can't do the same thing. I should take a look at the Piwigo code.

In the mean time, after creating new album you (and your users) may reload the page and it will be ok.

I'm sorry for any inconvenience.

@icy icy reopened this Jun 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants