If one has $conf['tag_url_style'] = 'tag'; configured, then under Admin -> Photos -> Keywords, for any keyword selecting "View in gallery" generates an URL with id-tag for which no results are displayed.
The cause is in admin/themes/default/template/tags.tpl where there is tag_U_VIEW = 'index.php?/tags/%s-%s'|@sprintf:$tag['id']:$tag['url_name']
Changing that to tag_U_VIEW = 'index.php?/tags/%s'|@sprintf:$tag['url_name']
makes things work for this scenario, but of course that is only a workaround equally hardwired and wrong for other tag_url_style configurations. A solution would have to take the different configuration values into account.
If one has `$conf['tag_url_style'] = 'tag';` configured, then under Admin -> Photos -> Keywords, for any keyword selecting "View in gallery" generates an URL with id-tag for which no results are displayed.
The cause is in admin/themes/default/template/tags.tpl where there is
`tag_U_VIEW = 'index.php?/tags/%s-%s'|@sprintf:$tag['id']:$tag['url_name']`
Changing that to
`tag_U_VIEW = 'index.php?/tags/%s'|@sprintf:$tag['url_name']`
makes things work for this scenario, but of course that is only a workaround equally hardwired and wrong for other tag_url_style configurations. A solution would have to take the different configuration values into account.
<!-- github-sync-id:1092063445 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
If one has
$conf['tag_url_style'] = 'tag';configured, then under Admin -> Photos -> Keywords, for any keyword selecting "View in gallery" generates an URL with id-tag for which no results are displayed.The cause is in admin/themes/default/template/tags.tpl where there is
tag_U_VIEW = 'index.php?/tags/%s-%s'|@sprintf:$tag['id']:$tag['url_name']Changing that to
tag_U_VIEW = 'index.php?/tags/%s'|@sprintf:$tag['url_name']makes things work for this scenario, but of course that is only a workaround equally hardwired and wrong for other tag_url_style configurations. A solution would have to take the different configuration values into account.