mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 14:07:59 -06:00
feat: Allow empty document titles, fix saved view routes not being accessible
This commit is contained in:
@@ -185,7 +185,7 @@ class DocumentFilter extends Equatable {
|
||||
added.matches(document.added) &&
|
||||
modified.matches(document.modified) &&
|
||||
query.matches(
|
||||
title: document.title ?? '',
|
||||
title: document.title,
|
||||
content: document.content,
|
||||
asn: document.archiveSerialNumber,
|
||||
);
|
||||
|
||||
@@ -26,7 +26,7 @@ class DocumentModel extends Equatable {
|
||||
static const storagePathKey = 'storage_path';
|
||||
|
||||
final int id;
|
||||
final String? title;
|
||||
final String title;
|
||||
final String? content;
|
||||
final Iterable<int> tags;
|
||||
final int? documentType;
|
||||
|
||||
Reference in New Issue
Block a user