![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,893
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
Content Server: Multi-level sort?
Is it possible to do a multi-level sort in Calibre's Content Server, like you can do in the main Calibre GUI?
I want to sort first by author, then by series, then by number-in-series. Easy enough to do in Calibre ... but I can't find a way to do this in the web interface to the Content Server. The Content Server appears to have only one level of sort, so as soon as you change the sort field, the previous sort is forgotten. In the main Calibre interface to accomplish what I want is simple: First, click on sort by series, next click on sort by author. Bingo - done! |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,005
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,893
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
That's exactly what I have (I think). I have a Virtual Library named "Novels" that is defined as:
"tags:"=Collection" or tags:"=Novel" or tags:"=Omnibus" or tags:"=Short Story"" In Calibre, it remembers my desired sorting when I open the program, but I don't see where sort order is part of the Virtual Library definition. Maybe Calibre is just remembering the last sort order from the previous time it ran (regardless of library selected). How do you define a sort order as part of a Virtual Library definition? Specifically, a multi-level sort? It appears to me that a VL is defined as a search (be that on authors, tags, whatever). I see that you can define a "Saved Search" and specify sort order as part of that, then you could define a VL based on that saved search. However, the sort order in the saved search looks like it's only single-level, just like you see in the Content Server. I want multi-level. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,305
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC you can, but there is no UI for it. Look at the URL that is generated when the server sorts. There will be some thing like "sort=author_sort.asc" you can manually edit the URL adding multiple fields, something like
sort=author_sort.asc,title.desc |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,893
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
Perfect! Thanks!
Here is what worked: Code:
http://localhost:8080/#library_id=Calibre&panel=book_list&sort=author_sort.asc,series.asc&vl=Novels
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Series sort order backwards via Content Server | Ender_Fedaykin | Library Management | 8 | 12-10-2014 12:53 PM |
Multi-Level Table of Contents | apastuszak | General Discussions | 9 | 07-02-2011 06:35 AM |
Multi-Level TOC | edbro | Calibre | 4 | 09-16-2010 06:54 PM |
Multi Level Headers | AJ Starr | Astak EZReader | 14 | 01-15-2010 03:26 PM |
Multi level TOC | PAQUITO | Bookeen | 1 | 12-23-2009 03:57 AM |