Skip to content

Commit ba1b048

Browse files
authored
minor adjustments (#304)
1 parent 58e0852 commit ba1b048

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- towncrier release notes start -->
44

5-
## [3.0.1] - 2024-01-xx
5+
## [3.0.1] - 2024-01-13
66

77
### Fixed
88

docker/prod/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ COPY ./papermerge ${CORE_APP}/papermerge/
5050
COPY ./docker/prod/config ${CORE_APP}/config
5151
COPY ./docker/prod/manage.py ${CORE_APP}/manage.py
5252

53-
COPY ./docker/dev/scripts/ /usr/bin/
53+
COPY ./docker/prod/scripts/ /usr/bin/
54+
RUN chmod +x /usr/bin/*.sh
5455
RUN chmod +x /run.bash
5556

5657
COPY --from=token_validator /tivoli_app/ /tivoli_app

papermerge/core/db/nodes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def get_paginated_nodes(
5959
).options(loader_opt))
6060

6161
count_stmt = select(func.count()).select_from(Node).where(
62-
Node.user_id == user_id
62+
Node.user_id == user_id,
63+
Node.parent_id == parent_id
6364
)
6465

6566
items = []

0 commit comments

Comments
 (0)