Adapted to keep individual filters by opening views in new tabs

When Detail Views were opened within the same browser window, individual
filters of the overview site were lost when returning to the overview.
Fixed by opening detail views in new tab.

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-03-25 16:41:41 +01:00
committed by cris-technikum
parent 3ba4229eed
commit faf253c159
3 changed files with 4 additions and 3 deletions
@@ -83,6 +83,7 @@ $filterWidgetArray = array(
layout: "fitColumns", // fit columns to width of table
persistentLayout:true,
persistentSort:true,
persistentFilter:true,
autoResize: false, // prevent auto resizing of table (false to allow adapting table size when cols are (de-)activated
headerFilterPlaceholder: " ",
index: "anrechnung_id", // assign specific column as unique id (important for row indexing)
@@ -63,7 +63,7 @@ function func_tableBuilt(table) {
url:function(cell){
return BASE_URL + "/" + APPROVE_ANRECHNUNG_DETAIL_URI + "?anrechnung_id=" + cell.getData().anrechnung_id
},
// target:"_blank"
target:"_blank"
}
}, false, "status" // place column after status
);
@@ -62,8 +62,8 @@ function func_tableBuilt(table) {
label:"Details",
url:function(cell){
return BASE_URL + "/" + APPROVE_ANRECHNUNG_DETAIL_URI + "?anrechnung_id=" + cell.getData().anrechnung_id
}
// target:"_blank"
},
target:"_blank"
}
}, false, "status" // place column after status
);