svn path=/Website/trunk/; revision=28474
This commit is contained in:
@@ -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
|
||||
});
|
||||
%>
|
||||
|
||||
@@ -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 != "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user