Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document List Filter #10598

Open
moaz310 opened this issue Jan 28, 2025 · 0 comments
Open

Document List Filter #10598

moaz310 opened this issue Jan 28, 2025 · 0 comments

Comments

@moaz310
Copy link

moaz310 commented Jan 28, 2025

I am trying to add filters on the -favorites- of document list, but it return a filter of all files I have
here is my snippiest code

<adf-document-list
        #documentList
        acaDocumentList
        acaContextActions
        [display]="documentDisplayMode$ | async"
        currentFolderId="-favorites-"
        selectionMode="multiple"
        [navigate]="false"
        [sorting]="['modifiedAt', 'desc']"
        sortingMode="client"
        [imageResolver]="imageResolver"
        (node-dblclick)="onNodeDoubleClick($event.detail?.node)"
        (name-click)="onNodeDoubleClick($event.detail?.node)"
        locationFormat="/files"
        [headerFilters]="true"
      >
        <adf-custom-empty-content-template>
          <adf-empty-content icon="star_rate" [title]="'APP.BROWSE.FAVORITES.EMPTY_STATE.TITLE'" subtitle="APP.BROWSE.FAVORITES.EMPTY_STATE.TEXT">
          </adf-empty-content>
        </adf-custom-empty-content-template>
</adf-document-list>

And I found that in the network tab while added the [headerFilters]="true" I got this

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant