HSLE#53997 'Niet-automatische' kennisbankitems worden niet meer in de pop-up getoond

svn path=/Website/branches/v2018.1/; revision=38548
This commit is contained in:
2018-07-17 13:19:01 +00:00
parent e770c085e8
commit b244d70fb0
2 changed files with 3 additions and 3 deletions

View File

@@ -3120,8 +3120,8 @@ mld = {setmeldingstatus:
{
var displaymode = oRs("displaymode").Value;
// Displaymode 0; Show both; 1; No pop-up; 2; No fixed display
if (!(displaymode & 1)) // Popup
// Displaymode 0; Show both; 1; No pop-up; 2; No fixed display; 3; Show neither
if (displaymode == 0 || displaymode == 2) // Popup
{
if ( ((S("faq_kennisbank_popup") & 1) && canFAQUSEread) // Voor FE
|| ((S("faq_kennisbank_popup") & 2) && canFAQFOFread)) // Voor FO

View File

@@ -114,7 +114,7 @@ user.auth_required_or_abort(authparamsUSE || authparamsFOF);
+ " FROM fac_faq ff, "
+ " mld_stdmeldingfaq sf"
+ " WHERE fac_faq_datum < SYSDATE"
+ " AND fac_faq_displaymode <> 1"
+ " AND fac_faq_displaymode IN (0, 2)"
+ " AND BITAND(fac_faq_level," + faq_bits + ") <> 0"
+ " AND (fac_faq_lang = " + safe.quoted_sql(user_lang) + " OR fac_faq_lang IS NULL)"
+ filtWHERE