https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× This is the optional Forum header for the Suggestion Box.

I think I have found a BUG in Aditional Condition

  • sospixs
  • sospixs's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 10 months ago #170

When I add condition created_by = '@user_id' it work fine when showing data.
But when i searching with "All fields" condition (Just only "All fields" condition that issued wrong result)
Component showing incorrect data because OR condition

This is MySQL Front end that I print.

SELECT id, created_by, title, hits FROM jos_content WHERE created_by = '62' AND UPPER(id) LIKE ('%0%') OR UPPER(created_by) LIKE ('%0%') OR UPPER(title) LIKE ('%0%') OR UPPER(hits) LIKE ('%0%') ORDER BY id asc LIMIT 0, 20

It's incorrect. The QUERY MUST HAVE bracket "( )" after Aditionnal Condition
The correct QUERY IS

SELECT id, created_by, title, hits FROM jos_content WHERE created_by = '62' AND ( UPPER(id) LIKE ('%0%') OR UPPER(created_by) LIKE ('%0%') OR UPPER(title) LIKE ('%0%') OR UPPER(hits) LIKE ('%0%') ) ORDER BY id asc LIMIT 0, 20

Im' try to fixs this .but Im' not find the place to add my bracket yet

Im' try to fixs this .but Im' not find the place to add my bracket yet

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #171

Hello Sospixs,

Thank you for reporting this bug. A new version of TableJX will be released today, having this bug fixed. New version will also include some additional features like linkable columns, etc...

Existing customers will be able to download this version for free in Customer area. You can expect it to be published within an hour.

Best regards,
Bostjan

Please Log in or Create an account to join the conversation.

  • sospixs
  • sospixs's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 10 months ago #172

WOW
Thanks for quickly response.
Im waiting for download. :)

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.138 seconds

Contact Us

Contact us on Discord

Contact us on Facebook