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
Changed Autosuggester #4401
Changed Autosuggester #4401
Conversation
@@ -61,17 +61,106 @@ protected function getListQuery() | |||
{ | |||
// Create a new query object. | |||
$db = $this->getDbo(); | |||
//attempt to change mysql for error in large select | |||
$db->setQuery('SET SQL_BIG_SELECTS=1'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you wrap this in a $db->name
check so that the non-MySQL databases will still at least attempt to work with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@tkempf please notice that travis is not happy with your code:
|
static-filters,accesslevels,publish up/down dates and article states
I'm testing this in J3.4.1 and it is working okay. |
I tested with version: Joomla 3.4.4-dev development
Result: After I applied the patch, the whole suggestions in the Smart Search didn't work anymore. As an example I searched for "similar" because there is an article called "Similar Tags" and this one should be suggested. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4401. |
Using Joomla Version : 3.4.4-dev. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4401. |
@tkempf can you try to get the code working on the current staging? Based on the last tests it don't work. Please add a comment if you have find the issue. Thanks. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4401. |
parameter f in the serviceurl otherwise
plugin seems not to change the state of the finder item after changing the article state
default_form and omit the parameter f in the serviceurl otherwise
code is now working again on current staging. There was an issue when no filter was selected. Can you pls. reopen. |
date and end date filters
I confirm patch this one should not be suggested anymore. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4401. |
Thank you for creating this but it would appear that this has been resolved elsewhere in the code base. If this is not correct then this can be re-opened This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4401. |
I just tested on J3.5.1 and autosuggester does not respect for example access level: as a guest I get a suggestion for a Administrator level article, so it is not resolved in codebase? This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4401. |
@brianteeman Should this be closed too as unfixable per #16011? |
Change Autosuggester so that it respects static-filters,accesslevels,publish up/down dates and article states
This code is not yet production ready but runs fine for me on a site with Joomla 2.5.17 since 2 years