Repository navigation
|
Hi, I'm testing article search in the News app and found behavior that seems inconsistent with the implementation introduced in 2023, where article search was described as available through Nextcloud's search. Environment Expected behavior Actual behavior Code investigation The News app registers the article search provider:
and contains:
The provider passes the search term to: which ultimately queries:
through ItemMapperV2::addSearch(). Therefore: The provider exists. Question Nextcloud 34.0.3 through the Unified Search interface? Could there be a compatibility issue with the way ItemSearchProvider retrieves the search term (for example getFilter('term')) on newer Nextcloud versions? Thanks! |
Replies: 2 comments
|
Hi, yes that seems to be broken at the moment I was able to search with the feed name but some random word from an article is not working |
|
Thanks for confirming. We did some additional investigation on our side. We were able to partially fix the issue locally and article titles are now returned by Unified Search. However, the result links appear to be broken. Clicking a News article search result does not navigate to the expected article. The search result is displayed correctly, but the generated link does not open the corresponding article view nor the original article URL. Looking at the implementation, ItemSearchProvider creates the result URL with:
Could this route be outdated or incompatible with current News / Nextcloud versions? Search results are now found correctly, but navigation from the search result is still broken. |
Hi, yes that seems to be broken at the moment I was able to search with the feed name but some random word from an article is not working