stblink VIP
Total posts: 501
04 Июнь 2013 13:33

Is it possible to hide empty categories from the search module ? Currently i inserted only 1 record into 2 categories.

It would be great to hide empty categories because it will always return empty results.

Последние изменения: 02 Март 2014


Sergey
Total posts: 13,748
05 Июнь 2013 09:34

To hide empty categories we wil have to calculate amount of records in the category. And this is very sensitive process that was cause of many problems in Resources and even in Cobalt it decrease performance on category index.

Although it is technically possible, I would mostly avoid to add this feature :(


stblink VIP
Total posts: 501
05 Июнь 2013 09:42

i see what you mean.

Still i can see that this only happens with categories... the other fields only show options for records that exist.

thanks


Sergey
Total posts: 13,748
05 Июнь 2013 11:07

To calculate records that contain current value is easy. Not like categories. That is because there is possibility to lace record to many categories we have to calculate not in child table but in 2 tables joining them together.

Работает на Cobalt