Skip to content

Applying other filters for search remove existing created_by, updated_by condition #2736

Description

@iTymz

Hi!

I'm trying to find an option to get the full list of activities for a user but there is no option for this right now (without accessing to audit log). There is an option to find user-created or updated stuff so I tried to use it with other filters possible to apply in the search section.
The final result is removing the {created_by:XY} or {updated_by:XY} from the URL and show the results based only on "visible" filters available in the left section. This should apply the filters with existing ones.

Example:
https://demo.bookstackapp.com/search?term=%7Bcreated_by%3A1%7D+%7Btype%3Apage%7D

Then apply the date filtering:

https://demo.bookstackapp.com/search?search=&types%5B%5D=page&exact%5B%5D=&tags%5B%5D=&filters%5Bupdated_after%5D=&filters%5Bupdated_before%5D=&filters%5Bcreated_after%5D=2021-05-07&filters%5Bcreated_before%5D=

Results:
URL without created_by condition.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions