Search Screen port

This commit is contained in:
Timo Bejan 2021-12-14 21:41:53 +02:00
parent 8e815d2e10
commit da201b543a
4 changed files with 8 additions and 0 deletions

View File

@ -56,6 +56,10 @@
</div>
</div>
<div class="cell">
<redaction-initials-avatar [user]="item.assignee" [withName]="true"></redaction-initials-avatar>
</div>
<div class="cell">
<iqser-status-bar
[configs]="[

View File

@ -35,6 +35,7 @@ export class SearchScreenComponent extends ListingComponent<ISearchListItem> imp
readonly tableHeaderLabel = _('search-screen.table-header');
readonly tableColumnConfigs: TableColumnConfig<ISearchListItem>[] = [
{ label: _('search-screen.cols.document'), width: '2fr' },
{ label: _('search-screen.cols.assignee') },
{ label: _('search-screen.cols.status') },
{ label: _('search-screen.cols.dossier') },
{ label: _('search-screen.cols.pages'), width: 'auto' },
@ -134,6 +135,7 @@ export class SearchScreenComponent extends ListingComponent<ISearchListItem> imp
unmatched: unmatchedTerms || null,
highlights,
status: file.workflowStatus,
assignee: file.assignee,
numberOfPages: file.numberOfPages,
dossierName: this._dossiersService.find(dossierId).dossierName,
filename: file.filename,

View File

@ -1492,6 +1492,7 @@
"cols": {
"document": "Document",
"dossier": "Dossier",
"assignee": "Assignee",
"pages": "Pages",
"status": "Status"
},

View File

@ -3,6 +3,7 @@ import { IListable, List } from '@iqser/common-ui';
export interface ISearchListItem extends IListable {
readonly dossierId: string;
readonly filename: string;
readonly assignee: string;
readonly unmatched: List | null;
readonly highlights: Record<string, List>;
readonly routerLink: string;