Merge pull request 'fix: hotfix redirect' (!3068) from hotfix-redirectID into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #3068
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-10-03 12:38:48 +00:00
commit 1c2b7388be
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ export default class App {
newRoute = newRoute.concat(`?table=${tableValue}`);
}
if (this.logger.$params.id)
if (this.logger.$params.id && newRoute.indexOf(this.logger.$params.id) < 0)
newRoute = newRoute.concat(`${this.logger.$params.id}`);
return this.logger.$http.get('Urls/findOne', {filter})