svn path=/Website/trunk/; revision=28474

This commit is contained in:
Ruud Lipper
2016-03-14 13:04:37 +00:00
parent 823a3382d6
commit 5f87139654
2 changed files with 4 additions and 0 deletions

View File

@@ -265,6 +265,7 @@ var authparams = user.checkAutorisation(autfunction);
urlAdd: [{urlParam: "srtgroep_key", field: "srtgroep"},
{urlParam: "disc_key", field: "disc"}],
trclass: "primsearch noxd",
filtercode: urole == "fo" ? "LEND" : null,
whenEmpty: L("lcl_search_generic") // want dit is een filter
});
%>

View File

@@ -39,6 +39,9 @@ function getFiltClauseSrtdeel(pfiltcode, params) // pfiltcode not used yet
if (params.srtdeel_key && params.srtdeel_key > 0)
lfiltClause.where += " AND sd." + module + "_srtdeel_key = " + params.srtdeel_key;
if (pfiltcode == "LEND")
lfiltClause.where += " AND sd.ins_srtdeel_uitleenbaar = 1";
if (params.autfunction != "")
{