-
Notifications
You must be signed in to change notification settings - Fork 12
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
CONCAT count same title - x (with subquery) #43
Comments
Hi, so use the first query if it works. The second doesn't look right as it will give you the same count for all news with the same title. Is it in the manual? If so, it's wrong. |
Hello again and thanks for your fast reply. I write the first query yesterday and tested on my local server. The result (in phpmyadmin) looks fine: /same-newstitle, /same-newstitle-2, /same-newstitle-3, ... But when I use the query in the cooluri xml file, I get only the "uid" from the news, no newstitle and no count. Example: /12, /152, /44, ... (the numbers are the tt_news uid's) I think the query is parsed wrong. Maybe is the @ in the query a Problem? |
Hi bednee, I tried to make an counter for tt_news titles with the same name, in the "lookInDb" part of the cooluriconf.xml, like this way:
If I use this query in phpmyadmin, I get a list which I expected. Your SQL example, from the Extension Manual don't work too:
Please help :) What I doing wrong?
Greetings, Rob
The text was updated successfully, but these errors were encountered: