@alfresco/aca-content 8.1.0-34090693421 → 8.1.0-34119385162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5845,6 +5845,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
5845
5845
  * You should have received a copy of the GNU Lesser General Public License
5846
5846
  * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
5847
5847
  */
5848
+ const INCLUDE_FIELDS = ['isFavorite', 'aspectNames', 'definition', 'isLink'];
5849
+ const SEARCH_INCLUDE_FIELDS = ['aspectNames', 'isLink'];
5848
5850
  class DocumentListDirective {
5849
5851
  constructor() {
5850
5852
  this.store = inject(Store);
@@ -5864,7 +5866,7 @@ class DocumentListDirective {
5864
5866
  }
5865
5867
  ngOnInit() {
5866
5868
  this.documentList.stickyHeader = true;
5867
- this.documentList.includeFields = ['isFavorite', 'aspectNames', 'definition', 'isLink'];
5869
+ this.documentList.includeFields = this.documentList.currentFolderId === '-recent-' ? SEARCH_INCLUDE_FIELDS : INCLUDE_FIELDS;
5868
5870
  this.isLibrary =
5869
5871
  this.documentList.currentFolderId === '-mysites-' ||
5870
5872
  // workaround for custom node list