Commit 5949e6e5 authored by ludo's avatar ludo
Browse files

edit for ticket 17089

parent eb0cc5c6
......@@ -95,7 +95,7 @@ class DatasourceController
$res['linktodoc'] = trim($aArgs['params']['maarchUrl'], '/') . '/dist/index.html#/resources/'.$res['res_id'].'/content';
$res['linktodetail'] = trim($aArgs['params']['maarchUrl'], '/') . '/dist/index.html#/resources/'.$res['res_id'];
if (!empty($res['res_id']) && !empty($preferenceBasket[0]['group_serial_id']) && !empty($basket['id']) && !empty($aArgs['params']['recipient']['id'])) {
$res['linktoprocess'] = trim($aArgs['params']['maarchUrl'], '/') . '/dist/index.html#/process/users/'.$aArgs['params']['recipient']['id'].'/groups/'.$preferenceBasket[0]['group_serial_id'].'/baskets/'.$basket['id'].'/resId/'.$res['res_id'];
$res['linktoprocess'] = trim($aArgs['params']['maarchUrl'], '/') . '/dist/index.html#/signatureBook/users/'.$aArgs['params']['recipient']['id'].'/groups/'.$preferenceBasket[0]['group_serial_id'].'/baskets/'.$basket['id'].'/resId/'.$res['res_id'];
}
if (!empty($res['initiator'])) {
......@@ -168,7 +168,7 @@ class DatasourceController
$note['linktodetail'] = trim($aArgs['params']['maarchUrl'], '/') . '/dist/index.html#/resources/'.$resId;
if (!empty($resId) && !empty($preferenceBasket[0]['group_serial_id']) && !empty($basket['id']) && !empty($aArgs['params']['recipient']['id'])) {
$note['linktoprocess'] = trim($aArgs['params']['maarchUrl'], '/') . '/dist/index.html#/process/users/'.$aArgs['params']['recipient']['id'].'/groups/'.$preferenceBasket[0]['group_serial_id'].'/baskets/'.$basket['id'].'/resId/'.$resId;
$note['linktoprocess'] = trim($aArgs['params']['maarchUrl'], '/') . '/dist/index.html#/signatureBook/users/'.$aArgs['params']['recipient']['id'].'/groups/'.$preferenceBasket[0]['group_serial_id'].'/baskets/'.$basket['id'].'/resId/'.$resId;
}
$resourceContacts = ResourceContactModel::get([
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment