Skip to Content Skip to Menu

Problem sorting CB Lastview in the backend

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
9 years 9 months ago #257748 by chanteur94
Problem sorting CB Lastview in the backend was created by chanteur94
Hi

When i try to sort the CB Last Views Tab in the backend by User or Viewer, i'v got an error message like :
Error

Erreur de chargement de la base de données. Vérifiez et réparez votre base de données dans Composants / Community Builder / Outils.
SQL Error (visible to super-admins only): Unknown column 'b.user' in 'order clause' SQL=SELECT b.`username` AS `user`, c.`username` AS `viewer`, a.`lastip`, a.`lastview`, a.`viewscount` FROM `jsor_comprofiler_views` AS a LEFT JOIN `jsor_users` AS b ON b.`id` = a.`profile_id` LEFT JOIN `jsor_users` AS c ON c.`id` = a.`viewer_id` ORDER BY b.`user` LIMIT 0, 20

Ok for sorting by IP, viewed or visit

Best regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
9 years 9 months ago #257775 by krileon
Replied by krileon on topic Problem sorting CB Lastview in the backend
That's due to a bug in the XML that'll be fixed in CB 2.0.6. The feature was preemptively implemented as I expected the XML fix to be in CB 2.0.5, but it didn't make it. So that sorting won't work for now.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum