FSN#53649 Performance: RES objecten en ruimtes er niet bij slepen als je groepeert op Artikel
svn path=/Website/branches/v2017.3/; revision=38343
This commit is contained in:
@@ -1621,14 +1621,14 @@ function res_list (pautfunction, params)
|
||||
2);
|
||||
|
||||
var sql_from_total = "";
|
||||
if (res_key || roomcat)
|
||||
if (res_key || (roomcat && groupres != 7 && groupres != 8)) // Niet als je groepeert op artikel
|
||||
{
|
||||
sql_from_total += "/* Ruimtes */ " + sql_from_room_part;
|
||||
if (res_key || objcat || artcat)
|
||||
sql_from_total += " \nUNION ALL\n "
|
||||
}
|
||||
|
||||
if (res_key || objcat)
|
||||
if (res_key || (objcat && groupres != 7 && groupres != 8)) // Niet als je groepeert op artikel
|
||||
{
|
||||
sql_from_total += "/* Objecten */ " + sql_from_obj_part;
|
||||
if (res_key || artcat)
|
||||
|
||||
Reference in New Issue
Block a user