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

Change-Id: Ie4a6124154cc5c6c3b310211260e611aa1554a94
diff --git a/src/app/core/services/helpers/config.helpers.ts b/src/app/core/services/helpers/config.helpers.ts
index 445386a..2241fd1 100644
--- a/src/app/core/services/helpers/config.helpers.ts
+++ b/src/app/core/services/helpers/config.helpers.ts
@@ -190,7 +190,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