Updating a book/page does not affect "updated date" of shelf #3979

Closed
opened 2026-02-05 08:00:49 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @etcy on GitHub (Aug 19, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Current Behavior:
When a page is being updated/created, the book correctly shows the "updated date" but the "updated date" is not reflected at the shelf level. I suspect that this could be a design/feature rather than a bug but all my users think otherwise.

Even if it is by design, is there a way for me to modify the codes so that it behaves like what my users expect?

Exact BookStack Version

v23.05.2

Log Content

No response

PHP Version

No response

Hosting Environment

Ubuntu 20.04, installed using official script

Originally created by @etcy on GitHub (Aug 19, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario Current Behavior: When a page is being updated/created, the book correctly shows the "updated date" but the "updated date" is not reflected at the shelf level. I suspect that this could be a design/feature rather than a bug but all my users think otherwise. Even if it is by design, is there a way for me to modify the codes so that it behaves like what my users expect? ### Exact BookStack Version v23.05.2 ### Log Content _No response_ ### PHP Version _No response_ ### Hosting Environment Ubuntu 20.04, installed using official script
OVERLORD added the 🐕 Support label 2026-02-05 08:00:49 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Aug 19, 2023):

Hi @etcy,

When a page is being updated/created, the book correctly shows the "updated date"

It doesn't as far as I know. It may do for some operations but most simple create/update of child content won't specifically touch the updated time of parent items.

but the "updated date" is not reflected at the shelf level

Same as above for shelves, although the shelf->book relation is looser than other relations so less chance of there being a connection between these items.

Even if it is by design, is there a way for me to modify the codes so that it behaves like what my users expect?

There's nothing built in or supported to do this.
If you have some PHP skills, you could use our logical theme system to listen to update/create events of certain content then update the timestamp of related shelves.

@ssddanbrown commented on GitHub (Aug 19, 2023): Hi @etcy, > When a page is being updated/created, the book correctly shows the "updated date" It doesn't as far as I know. It may do for some operations but most simple create/update of child content won't specifically touch the updated time of parent items. > but the "updated date" is not reflected at the shelf level Same as above for shelves, although the shelf->book relation is looser than other relations so less chance of there being a connection between these items. > Even if it is by design, is there a way for me to modify the codes so that it behaves like what my users expect? There's nothing built in or supported to do this. If you have some PHP skills, you could use our [logical theme system](https://github.com/BookStackApp/BookStack/blob/development/dev/docs/logical-theme-system.md) to listen to update/create events of certain content then update the timestamp of related shelves.
Author
Owner

@ssddanbrown commented on GitHub (Sep 11, 2023):

Since there's been no further follow-up I'll go ahead and close this off.

@ssddanbrown commented on GitHub (Sep 11, 2023): Since there's been no further follow-up I'll go ahead and close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3979