[CORD-1934] Fixing links in table after first page

Change-Id: Ie4a6124154cc5c6c3b310211260e611aa1554a94
(cherry picked from commit 1cb980d686312a891a66ca1b36d28cf3a886e2d3)
diff --git a/src/app/core/services/helpers/config.helpers.ts b/src/app/core/services/helpers/config.helpers.ts
index b6f28f7..16958de 100644
--- a/src/app/core/services/helpers/config.helpers.ts
+++ b/src/app/core/services/helpers/config.helpers.ts
@@ -196,7 +196,7 @@
       };
 
       if (f.name === 'id' || f.name === 'name') {
-        col.link = item => this.stateWithParams(modelName, item);
+        col.link = item => this.stateWithParamsForJs(modelName, item);
       }
 
       // if the field identify a relation, create a link