-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Search results broken when requesting to load more results #35558
Comments
Hi, please try again eith 25.0.2 |
I've the same issue on 25.0.2rc2 but only if Files is active/loaded and for the first search... after the first failed attempt (empty search after trying to load more search results), it does seem to work. Issue reappears if files is reloaded. |
Eh, cannot understand what you mean under 'files is reloaded'. I tried to repeat searching the exact text and it appeared again. I am on the stable branch, that's why 25.0.2 is not for me now... |
For me the issue only appears if the files app is loaded/active. 'files is reloaded' means that I klick again on the files app icon or that I reload the whole webpage. |
I may click on the Search icon independently where I am in the webUI. The situation doesn't change - so, when I try to click on Load more I am getting an empty window with no results. Has anybody succeeded to overcome the issue? |
Same error here. 25.0.2.
|
For what it's worth, this didn't seem to happen on 24 I believe. Also, I tried to troubleshoot this, and restore previous Still, since the "load more results" works on the iOS mobile app, it might be on the client-side, and I just can't dig deeper into it. Happens on Chrome on Mac, and on Chrome on iOS at least. Hope this helps? |
After updating NC to 25.0.2 the behaviour has changed slightly: now when I click on Load more results the search window just disappears. |
Correct, that's what happens in the UI when the CANCELED message shows in Developer Tools. |
Yup. What to do? |
The only thing what is working is to use search field from the desktop app. But, it doesn't open links from fulltext search (the same mobile app, what is another bug). |
something to do with the Regex perhaps. I've reverted the dist code to this MR and now it works on my server, hope dev have a looks. The reason for the idiotic approach is I dont know VUE or frontend in general. Hope this help. My guess is the code at line 472 checking types, since it might not existed on the first click. |
Thank you @LibertusDio . Apologies for the dumb question, but how can I apply that specific change on my end? I can find the two EDIT: actually, it seems that the UnifiedSearch.vue content gets merged into the other two files, but replacing those two files on my end didn't seem to fix it, so I probably did something wrong. I'm reverting the changes for now. Thanks for digging into this. |
vue file is source code, I just point it out for dev. We run js files on server (dist folder).
|
It's a bug for me also, click "Load more results" always clears the search as if the Search icon has just been pressed. |
Just to update that, for some reason, replacing the files and restarting the server didn't seem to do the trick - though I'm perfectly open to me having done something wrong in the process. It's still a bit surprising that there's so few people talking about this - I'd imagine that a "search" failure would result in more reports. Could it be it's not a widespread thing, but only for the few unlucky ones here, because of whatever setup we have in place? It could also be that, since the desktop and mobile apps work as intended, then it's not such a high-priority issue? Would love to hear more about this, or how could we help to solve this. Search isn't a nice to have, it's quite core to the experience. |
@pjft make sure you are using the old commit, not the new one ( About the function itself, I dont think they (Nextcloud the company) are not taking it highly:
|
Got it, that makes sense. Also, I do confirm your fix: commit Thank you. |
Just to update that it's still broken in today's release of 25.0.3 . This is not recommended, it's an unsupported setup, it will not benefit from other fixes and might introduce other bugs If you want to get search back, these are my steps: Step 1: go to Nextcloud's folder
Backup existing files:
Get the good files:
Overwrite old ones:
If you Force Reload Nextcloud on your browser, it'll load the new JS files. You might need to restart Apache/Nginx in your case. |
Hi! Let me add, that the load of fulltextsearch works well in spite of across file names (generic) search. |
Thanks! It works fine with this patch. |
I can confirm this bug is still present; both in 25.0.3 and 26.0.0 beta 4 |
Just to inform that applying this workaround on 25.0.4 will make search not show up at all now. It might be related to the new "Contacts Search" dialog. Maybe if there's a way to disable it, it'll work, but I did not dig into that. If you use this patch, please stay with 25.0.3. |
Thank you! Can we expect it to be backported to 25? The auto-backport seems to have failed, and I'd love to test it out. Our challenge here was, when we press "Load more results" it just breaks and doesn't show anything new. |
Hi everyone, i can confirm the problem. Hope this info helps. |
What do you mean under "not in files"? |
I can replicate this on 25.0.5 and 26.0.0 as well. As soon as I'm in the "Files" app, the "load more" option doesn't work and simply clears out all search results. When searching from within other apps, I can't replicate the issue and loading search results works as expected. |
If you are in Settings, or Photo, or something different from "Files" it works. |
Hi! Thanks for the clarification. Indeed, it works well. Strange situation. |
Hi! Thanks! |
I confirm that. It's strange, that this bug is not being fixed from newer version to the new one. |
Hey, so are any chances to fix this weird and annoying bug?.. |
100% very annoying - search is essential for locating items, finding duplicates etc. Please let us have some news |
CAN YOU PLEASE FINALLY FIX THIS BUG... I mean this is one of the core functionalities of this system and it is not working for a long time?! |
Any news on this? Im stuck too. |
Same problem here. Empty search screen after pressing 'Load more results' in desktop browser. In am running NC 26.0.1. on PHP 8.1 Load more results was working on version 24. Since upgrade version 25 en 26 it is not working anymore. My workaround: goto another app, for example Talk and do the same search again, then Load more results is working ! Maybe this helps in finding the problem. |
I can confirm that this is now fixed on 25.0.7. Thank you @szaimen for looking into this. |
It was @skjnldsv who fixed this so the praise goes to him! |
Thank you @skjnldsv then, of course :) |
love to see it gets resolved, took a while though. Now I can push to newer version of server, search is critical to me though |
Bug description
When I try to click on the button link "Load more results" there are no any other results shown but the content of the search window in reset. This bug appeared after upgrading from 24.x to 25.x.
Steps to reproduce
Expected behavior
The list of files searched additionally should be shown.
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: