Open jyby opened 12 years ago
The solution could be complicated. It turns out when documents are displayed, the relationship chosen is "CriteriasDocument" for selecting all documents of a particular criteria. So, if there aren't any criteria, then no documents are selected because of the sql table used.
A solution could be "conditioning" the quantity of criterias. If there aren't any criterias, use the Document model (table) instead, by adapting all other methods to work according to the new model.