Skip to content

Commit

Permalink
fixes failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Jan 25, 2025
1 parent 3d7abda commit 82ce26f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@

### Changes

- pyproject.toml updated for poetry 2.0
- pyproject.toml upgraded for poetry 2.0

### Adds

- Column sorting and filtering in Document Type list view
- Column sorting and filtering in Custom Field list view


## [3.3.1] - 2025-01-19

Expand Down
2 changes: 1 addition & 1 deletion papermerge/core/features/document_types/db/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_document_types(
orm.DocumentType.name.icontains(filter)
)
total_doc_types = session.execute(stmt_total_doc_types).scalar()
order_by_value = ORDER_BY_MAP.get(order_by, orm.CustomField.name.asc())
order_by_value = ORDER_BY_MAP.get(order_by, orm.DocumentType.name.asc())

offset = page_size * (page_number - 1)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "papermerge"
version = "3.3.2"
version = "3.4"
description = "Open source document management system for digital archives"
authors = [
{ name = "Eugen Ciur", email = "[email protected]"}
Expand Down

0 comments on commit 82ce26f

Please sign in to comment.