mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1573 edit btn in results of album search redirects to right album
This commit is contained in:
@@ -111,9 +111,9 @@ function addAlbumResult (cat, nbResult) {
|
||||
function getHtmlPath (cat) {
|
||||
html = '';
|
||||
for (let i = 0; i < cat[1].length - 1; i++) {
|
||||
id = cat[1][i];
|
||||
c = data[id];
|
||||
html += '<a href="' + editLink + id + '">' + c[0] + '</a> <b>/</b> '
|
||||
id_bis = cat[1][i];
|
||||
c = data[id_bis];
|
||||
html += '<a href="' + editLink + id_bis + '">' + c[0] + '</a> <b>/</b> '
|
||||
}
|
||||
html += '<a href="' + editLink + cat[1][cat[1].length - 1] + '">' + cat[0] + '</a>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user