Skip to content

Conversation

Durganjali-sidda
Copy link

Implemented search filter functionality in the backend for the /items route. The endpoint now supports dynamic search with filtering options for title and keyword across both title and description. Additionally, the filtering respects user permissions, ensuring non-admin users can only access their own items, while superusers can access items from other users. This enhancement improves item search and retrieval, providing more flexible querying for both regular and administrative users.

Key updates include:

Added query parameters title, keyword, and owner_id for filtering items.

Improved permission handling for item access based on user roles.

Enhanced item retrieval with support for filtering based on title and description.

@tiangolo
Copy link
Member

Thanks for the interest. This would be better as a feature of your own project instead of here. So I'll pass on this one. ☕

@tiangolo tiangolo closed this Jul 26, 2025
@Durganjali-sidda Durganjali-sidda deleted the feature/search-filter-items branch August 29, 2025 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants