diff --git a/APPL/API2/model_fac_groeprechten.inc b/APPL/API2/model_fac_groeprechten.inc index 30fbf6f1c1..2f450b0c9e 100644 --- a/APPL/API2/model_fac_groeprechten.inc +++ b/APPL/API2/model_fac_groeprechten.inc @@ -203,7 +203,7 @@ function model_fac_groeprechten (params) this.min_level = oRs("fac_functie_min_level").Value; this.total_disc = oRs("nn_disc").Value; oRs.Close(); - if (!(min_level & (4 | 8))) + if (!(this.min_level & (4 | 8))) { this.fields["prs_level_read"].label = L("fac_gebruiker_lezen"); // Generiekere labels this.fields["prs_level_write"].label = L("fac_gebruiker_schrijven"); diff --git a/APPL/MGT/fac_functie.asp b/APPL/MGT/fac_functie.asp index cb1959aacd..662d6dbeef 100644 --- a/APPL/MGT/fac_functie.asp +++ b/APPL/MGT/fac_functie.asp @@ -90,5 +90,7 @@ "authorization.alg_level_write" ); } + else + scf_params.search.filters.push("name"); scaffolding(model, scf_params); %>