Server error 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hertithat
    Junior Member
    • Dec 2019
    • 1

    Server error 500

    Hello,

    I have configured a custom relationship between "contact" and "user". I also included this "user" field in the contact view list. When sorting by "user" I get an error, the log file has: tellpopeyes

    Espo.ERROR: (42000) SQLSTATE[42000]: Syntax error or access violation: 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 'ASC LIMIT 0, 200' at line 1; GET /api/v1/Contact?select=salutationName%2CfirstName%2ClastNa me%2Cname%2Ctitle%2CaccountId%2CaccountName%2Cclie ntFunction%2CclientSegment%2CusersIds%2CusersNames %2CcreatedAt&maxSize=200&offset=0&orderBy=users&or der=asc; line: 132, file: /is/htdocs/xxxxxxxx/www/application/Espo/ORM/DB/Mapper.php [] []

    Solution needed.

    Regards.
    Last edited by Hertithat; 12-17-2019, 10:53 AM.
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    the sorting is not supported for the Link Multiple fields.

    Comment

    Working...