-
Notifications
You must be signed in to change notification settings - Fork 9
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
Search on module description and title #14
Comments
I found the reason for the broken search: https://github.com/helsingborg-stad/Modularity/blob/master/source/php/Search.php#L96 I can't understand what moduleSearch() tries to do actually so I can't debug this. But completely disabling this at least brings back consistent results. With this enabled the page count is for example wrong, and the result is mixed with other post types. |
ModuleSearch is supposed to search modularity modules. I think this may be broken since Modularity 2.0.
… 1 juni 2017 kl. 10:20 skrev Anders Fajerson ***@***.***>:
I found the reason for the broken search: https://github.com/helsingborg-stad/Modularity/blob/master/source/php/Search.php#L96 <https://github.com/helsingborg-stad/Modularity/blob/master/source/php/Search.php#L96>
I can't understand what moduleSearch() tries to do actually so I can't debug this. But completely disabling this at least brings back consistent results. With this enabled the page count is for example wrong, and the result is mixed with other post types.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#14 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAb7Ck4uJCTRKLxK6Hl5TZOS72mX4vJPks5r_nQzgaJpZM4LlxpU>.
|
Not sure, I reported inconsistent search on Jan 17. Inconsistent could still mean that I still doesn't understand exactly what is going on though. |
#20 is merged, but this is not resolved. Can you reproduce the oddities I'm seeing or is it just I who misinterpreters the functionality? |
I have reproduced the "mixed post types" issue. Looking into a more straight forward solution here. |
This was mentioned by the editors on Höör: It would be nice if it was possible to search on the module description. Seems to me like a very good idea.
When testing this I found that the search seemed very inconsist. I'm not sure what it matches on actually. I would have guessed titles but that doesn't seem to be the case.
The text was updated successfully, but these errors were encountered: