Skip to content

"View All" in a user profile searches by a user id rather than slug #2857

Description

@irefuse

Describe the bug
When you are in a user's profile page and click "View All" next to and of the "Recently created" sections, it takes you to a search page that is searching by user id rather than the user slug. This inherently causes the search to return all results.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to any user's profile page
  2. Click on "View All" next to one of the "Recently Created" sections
  3. View the search bar to see that the created by section is by user id number. "{created_by:3}" rather than "{created_by:test-user}"

Expected behavior
The "View All" button should search by user slug to produce the appropriate results.

Screenshots
image
image

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): v21.05.3
  • PHP Version: 7.3.22
  • Hosting Method (Nginx/Apache/Docker): IIS

Additional context
N/A

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