- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 05:50 AM
Hi guys,
I'm using the simple list widget to display both requests and incidents and they show different results depending on the page they are on. As you can see in the below screenshot, the order is different to each other and some incidents aren't even showing on both. One instance of the simple list widget is on the homepage and the other is on the 'requests' page.(view all jobs from the top nav). I've checked the instance configuration and both of these are identical so I'm at a loss.
Any help is much appreciated.
JD
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 05:59 AM
While it's tough to tell for sure, Jon - it looks like the same data (21 records), just not sorted. It's somewhat random in each case.
While I see an options.order_by in the code, I don't see it in the option schema itself (possible bug.) You can clone the widget and add an order_by in the option schema and it will use that to sort your lists consistently (or differently based on a field of your choosing.)
Widget instance options schema

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 05:59 AM
While it's tough to tell for sure, Jon - it looks like the same data (21 records), just not sorted. It's somewhat random in each case.
While I see an options.order_by in the code, I don't see it in the option schema itself (possible bug.) You can clone the widget and add an order_by in the option schema and it will use that to sort your lists consistently (or differently based on a field of your choosing.)
Widget instance options schema
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 07:09 AM
Thanks a lot for this, Chuck! That was definitely the way to do it. I added order_direction in the options schema and then gave two options to order - it's now working as expected! Again, thanks for your guidance, really appreciate it!