mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 01:26:47 +01:00
Feature: page count (#7750)
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
4adf20af1e
commit
c92c3e224a
23 changed files with 319 additions and 45 deletions
|
|
@ -65,6 +65,7 @@ const savedView: SavedView = {
|
|||
DisplayField.CORRESPONDENT,
|
||||
DisplayField.DOCUMENT_TYPE,
|
||||
DisplayField.STORAGE_PATH,
|
||||
DisplayField.PAGE_COUNT,
|
||||
`${DisplayField.CUSTOM_FIELD}11` as any,
|
||||
`${DisplayField.CUSTOM_FIELD}15` as any,
|
||||
],
|
||||
|
|
@ -344,6 +345,7 @@ describe('SavedViewWidgetComponent', () => {
|
|||
expect(component.getColumnTitle(DisplayField.STORAGE_PATH)).toEqual(
|
||||
'Storage path'
|
||||
)
|
||||
expect(component.getColumnTitle(DisplayField.PAGE_COUNT)).toEqual('Pages')
|
||||
})
|
||||
|
||||
it('should get correct column title for custom field', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue