Apply another patch to 12fbe113cf

This commit is contained in:
Hadi Nategh 2016-09-08 14:03:05 +02:00
parent fdcc238913
commit eac56687ce

View File

@ -2839,7 +2839,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
if(cat_id.join('') == '') cat_id = false;
}
// Make sure cat_id reaches to server in array format
if (cat_id && typeof cat_id == 'string') cat_id = cat_id.split(',');
if (cat_id && typeof cat_id == 'string' && cat_id != "0") cat_id = cat_id.split(',');
var query = jQuery.extend({}, {
get_rows: 'calendar.calendar_uilist.get_rows',