Skip to content

Fix search using user queries - #5669

Merged
Alkarex merged 1 commit into
FreshRSS:edgefrom
Alkarex:fix-search-query
Sep 26, 2023
Merged

Alkarex merged 1 commit into
FreshRSS:edgefrom
Alkarex:fix-search-query

Conversation

@Alkarex

@Alkarex Alkarex commented Sep 23, 2023

Copy link
Copy Markdown
Member

fix #5668

Comment thread app/Models/UserQuery.php
*/
private function parseCategory(int $id): void {
if ($this->category_dao === null) {
throw new FreshRSS_DAO_Exception('Category DAO is not loaded in UserQuery');

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overkill to raise an exception when the same object can be created on demand

@Alkarex
Alkarex merged commit 89a3d36 into FreshRSS:edge Sep 26, 2023
@Alkarex
Alkarex deleted the fix-search-query branch September 26, 2023 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug (confirmed) 🐞 issues that are reproducible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] "Feed DAO is not loaded in UserQuery" error when filtering search results by user query

1 participant