Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
Wrong flow on viewing photo albums from "my photos" section
When you are in "my photos" section you can see your albums
new albums created from user,
stream photos album,
cover photos album
and avatar photos album.
When click in an album it redirects to each album page (i use no modal).
In the very top of the screen is option "Back to albums" which returns you back on album list.
this works fine for all the albums created from user. BUT for albums auto created (like stream) if you click "back to albums" you are redirected to the GENERIC photos view of all users and not where u where.
I have checked the issue and think it's related to url created by $album->getUri() function inside
/com_community/tables/album.php
in the functions seem to checking by this way :
switch ($this->type) {
case PHOTOS_USER_TYPE:
$uri .= '&userid=' . $this->creator;
break;
case PHOTOS_GROUP_TYPE:
$uri .= '&groupid=' . $this->groupid;
break;
case PHOTOS_EVENT_TYPE:
$uri .= '&eventid=' . $this->eventid;
break;
}
but seems that if switch not founds anything leaves the URI without the user information, needed in order the correct link to be attached to the "back to albums" button.