Commit 7679ad40 authored by Ivo Fokkema's avatar Ivo Fokkema

Added LOVD+ column settings fix in ajax/viewlists.php.

- Reducing the diff between LOVD and LOVD+.
parent 50eaa732
......@@ -4,7 +4,7 @@
* LEIDEN OPEN VARIATION DATABASE (LOVD)
*
* Created : 2010-02-18
* Modified : 2018-08-22
* Modified : 2019-09-23
* For LOVD : 3.0-22
*
* Copyright : 2004-2019 Leiden University Medical Center; http://www.LUMC.nl/
......@@ -253,6 +253,11 @@ if (POST && ACTION == 'applyFR') {
die(AJAX_DATA_ERROR);
}
// Restrict the columns of this VL, if given.
if (LOVD_plus && isset($_INSTANCE_CONFIG['viewlists'][$_GET['viewlistid']]['cols_to_show'])) {
$_DATA->setViewListCols($_INSTANCE_CONFIG['viewlists'][$_GET['viewlistid']]['cols_to_show']);
}
// Show the viewlist.
// Parameters are assumed to be in $_SESSION, only cols_to_skip can be overridden. This is for the external viewer.
$aOptions = array();
......
Markdown is supported
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