[CORD-1934] Fixing links in table after first page
Change-Id: Ie4a6124154cc5c6c3b310211260e611aa1554a94
diff --git a/src/app/core/link-wrapper/link-wrapper.ts b/src/app/core/link-wrapper/link-wrapper.ts
index f08c9d6..ee353c8 100644
--- a/src/app/core/link-wrapper/link-wrapper.ts
+++ b/src/app/core/link-wrapper/link-wrapper.ts
@@ -20,7 +20,7 @@
export function xosLinkWrapper(): IDirective {
return {
template: `
- <a ng-if="col.link" ui-sref="{{col.link(item)}}">
+ <a ng-if="col.link" ui-state="col.link(item).name" ui-state-params="{id: col.link(item).params.id}">
<div ng-transclude></div>
</a>
<div ng-transclude ng-if="!col.link"></div>