-
AuthorPosts
-
darebee Friend
darebee
- Join date:
- April 2017
- Posts:
- 9
- Downloads:
- 5
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 2 posts
April 27, 2017 at 10:04 pm #1029450Hi,
Is there an option to set default sorting? Right now everything is sorted by ID beginning from 1. We would like to display latest items first instead or use category order by default. We would really appreciate your help! Thank you so much.P.S. if there is no such option yet, is there a way to do it manually by editing the code? Thanks!
1 user says Thank You to darebee for this useful post
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
thesdhotel Friendthesdhotel
- Join date:
- March 2017
- Posts:
- 90
- Downloads:
- 25
- Uploads:
- 1
- Thanks:
- 31
- Thanked:
- 22 times in 20 posts
May 4, 2017 at 8:03 am #1031033Hello,
Yes, this would be a very useful feature, please implement it!
Thanks!darebee Frienddarebee
- Join date:
- April 2017
- Posts:
- 9
- Downloads:
- 5
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 2 posts
May 4, 2017 at 10:46 am #1031115Thank you so much for looking into this!
Is there perhaps a temporary fix we can apply to show the latest items first? Perhaps we can add something somewhere to show everything in reverse order by default, so the latest items appear first? Having a sorting by article order would be ideal but even showing latest first would be a huge help.Thank you so much in advance!
P.S. We currently use the "#sortdir=desc" link to achieve that but it increases the loading time so much (we have 1000+ items) that the page looks empty for ~ 10+ seconds. And since there is no loading bar or any indication that something is loading the major section on our website looks empty to new visitors.
Mr.Cat ModeratorMr.Cat
- Join date:
- December 2016
- Posts:
- 270
- Downloads:
- 24
- Uploads:
- 69
- Thanks:
- 58
- Thanked:
- 53 times in 50 posts
May 5, 2017 at 9:54 am #1031394Hi @darebee,
If you are using content filter, pls open file
plugins/jamegafilter/content/helper.php
go to line number 95 and change block code like the attachment bellow. You’ll get list item sorted by publish_up in descending order .
PS: For filter page that has many articles, we’re gonna add loading bar. Thanks for the notice.
-
2 users say Thank You to Mr.Cat for this useful post
thesdhotel Friendthesdhotel
- Join date:
- March 2017
- Posts:
- 90
- Downloads:
- 25
- Uploads:
- 1
- Thanks:
- 31
- Thanked:
- 22 times in 20 posts
May 5, 2017 at 10:13 am #1031404Awesome, thanks for this! Hopefully this gets implemented as an option in the next update so that this change doesn’t get overridden when updating. 🙂
darebee Frienddarebee
- Join date:
- April 2017
- Posts:
- 9
- Downloads:
- 5
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 2 posts
May 5, 2017 at 8:38 pm #1031553@Mr.Cat – it works perfectly!!! THANK YOU!
For anyone else applying the fix, it’s on the line 195.
thesdhotel Friendthesdhotel
- Join date:
- March 2017
- Posts:
- 90
- Downloads:
- 25
- Uploads:
- 1
- Thanks:
- 31
- Thanked:
- 22 times in 20 posts
May 10, 2017 at 3:36 pm #1032966To the staff, will the choosing of Default Sorting Order be officially added as an option in the next update? Thanks 🙂
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
May 12, 2017 at 7:21 am #10334792 users say Thank You to Luna Garden for this useful post
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 8 replies, has 4 voices, and was last updated by Luna Garden 7 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Default sorting
Viewing 9 posts - 1 through 9 (of 9 total)