BUG 8669 "External Link when you open a case" SOLVED

- with the new cases list based on extjs, that funcionality was changed
- to solve this you can pass two parameters (id, i) on cases/main script via a url is

sample:
  old:
    http://127.0.0.1/sysworkflow/en/classic/cases/cases_Open?APP_UID=9651244824f57c29799c545080806236&DEL_INDEX=2&action=todo
  new:
    http://127.0.0.1/sysworkflow/en/classic/cases/main?id=9651244824f57c29799c545080806236&i=2

  where, two parameters is used id and i,
  id = APP_UID
  i = DEL_INDEX
This commit is contained in:
Erik Amaru Ortiz
2012-03-07 18:12:01 -04:00
parent 2be05d382d
commit a652e2f683
4 changed files with 22 additions and 10 deletions

View File

@@ -28,6 +28,8 @@ $RBAC->requirePermissions('PM_CASES');
$G_MAIN_MENU = 'processmaker';
$G_ID_MENU_SELECTED = 'CASES';
$_POST['qs'] = isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '' ? '?' . $_SERVER['QUERY_STRING'] : '';
$G_PUBLISH = new Publisher;
$G_PUBLISH->AddContent('view', 'cases/cases_Load');
G::RenderPage('publish');