×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Bug order by on SQL field crashes admin list view
Joris Ceelen
New Member
Posts: 9
9 年 2 个月 前 #997
由 Joris Ceelen
Bug order by on SQL field crashes admin list view was created by Joris Ceelen
Hello and thanks for the good work,
I found a small bug where when you use an "SQL Field" as Field Type and your query includes an order by the admin list view produces the following error:
An error has occurred.
select id,title from jml_categories where extension='com_form_nutrient_facts' and published=1 order by title
the workaround I found is to encapsulate the query in a subquery:
select * from (select id,title from jml_categories where extension='com_form_nutrient_facts' and published=1 order by title) as t1.
note that the DB storage field is a text field, and amazingly I can just change it to INT directly in the database and everything seems to hold together, thanks!
best wishes Joris
I found a small bug where when you use an "SQL Field" as Field Type and your query includes an order by the admin list view produces the following error:
An error has occurred.
on query:1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HAVING id LIKE '24'' at line 1 SQL=select id,title from jml_categories where extension='com_form_nutrient_facts' and published=1 order by title HAVING id LIKE '24'
select id,title from jml_categories where extension='com_form_nutrient_facts' and published=1 order by title
the workaround I found is to encapsulate the query in a subquery:
select * from (select id,title from jml_categories where extension='com_form_nutrient_facts' and published=1 order by title) as t1.
note that the DB storage field is a text field, and amazingly I can just change it to INT directly in the database and everything seems to hold together, thanks!
best wishes Joris
Please 登录 或 注册一个帐号 to join the conversation.
Andres Maeso
Platinum Member
Posts: 338
9 年 2 个月 前 #1000
由 Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。
Replied by Andres Maeso on topic Bug order by on SQL field crashes admin list view
Hi Joris!
Thank you for taking the time to report this bug. I've created a ticket for our developers to check it. If you find anything else, please feel free to use our contact form: www.component-creator.com/en/help/contact We constantly monitor issues reported through e-mail and give them priority.
By the way, you live in a beautiful place, feel free to come by to Granada and pay us a visit in our office
Regards,
Andrés.
Thank you for taking the time to report this bug. I've created a ticket for our developers to check it. If you find anything else, please feel free to use our contact form: www.component-creator.com/en/help/contact We constantly monitor issues reported through e-mail and give them priority.
By the way, you live in a beautiful place, feel free to come by to Granada and pay us a visit in our office
Regards,
Andrés.
Andrés Maeso
Customer relations manager at Joomla Component Creator.
该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。
The following user(s) said Thank You: Joris Ceelen
Please 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.052秒