A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Show filter has items selected
Michael Shamoonbcdbc975d61e
diff --git a/src-ui/src/app/components/filter-editor/filter-dropdown-date/filter-dropdown-date.component.html b/src-ui/src/app/components/filter-editor/filter-dropdown-date/filter-dropdown-date.component.htmlindex 83d8c6455..a80e1c491 100644--- a/src-ui/src/app/components/filter-editor/filter-dropdown-date/filter-dropdown-date.component.html+++ b/src-ui/src/app/components/filter-editor/filter-dropdown-date/filter-dropdown-date.component.html@@ -1,5 +1,12 @@<div class="btn-group" ngbDropdown role="group">- <button class="btn btn-outline-primary btn-sm" id="dropdown{{title}}" ngbDropdownToggle>{{title}}</button>+ <button class="btn btn-outline-primary btn-sm" id="dropdown{{title}}" ngbDropdownToggle>+ <ng-container *ngIf="_dateBefore || _dateAfter">+ <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-check" fill="currentColor" xmlns="http://www.w3.org/2000/svg">+ <path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>+ </svg>+ </ng-container>+ {{title}}+ </button><div class="dropdown-menu date-filter shadow" ngbDropdownMenu attr.aria-labelledby="dropdown{{title}}"><div class="list-group list-group-flush"><div class="list-group-item d-flex flex-column align-items-start">diff --git a/src-ui/src/app/components/filter-editor/filter-dropdown/filter-dropdown.component.html b/src-ui/src/app/components/filter-editor/filter-dropdown/filter-dropdown.component.htmlindex 8c48f0e2f..591530ae2 100644--- a/src-ui/src/app/components/filter-editor/filter-dropdown/filter-dropdown.component.html+++ b/src-ui/src/app/components/filter-editor/filter-dropdown/filter-dropdown.component.html@@ -1,5 +1,12 @@<div class="btn-group" ngbDropdown role="group" (openChange)="dropdownOpenChange($event)">- <button class="btn btn-outline-primary btn-sm" id="dropdown{{title}}" ngbDropdownToggle>{{title}}</button>+ <button class="btn btn-outline-primary btn-sm" id="dropdown{{title}}" ngbDropdownToggle>+ <ng-container *ngIf="itemsSelected?.length > 0">+ <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-check" fill="currentColor" xmlns="http://www.w3.org/2000/svg">+ <path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>+ </svg>+ </ng-container>+ {{title}}+ </button><div class="dropdown-menu quick-filter shadow" ngbDropdownMenu attr.aria-labelledby="dropdown{{title}}"><div class="list-group list-group-flush"><input class="list-group-item form-control form-control-sm" type="text" [(ngModel)]="filterText" placeholder="Filter {{title}}" (keyup.enter)="listFilterEnter()" #listFilterTextInput>