Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-05-2017, 05:19 PM   #1
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
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!
haertig is offline   Reply With Quote
Old 11-05-2017, 07:45 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by haertig View Post
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!
Create a VL in Calibre with your sort. Then use that view (3 dots in the upper right corner) in the content server
theducks is offline   Reply With Quote
Advert
Old 11-05-2017, 11:09 PM   #3
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
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.
haertig is offline   Reply With Quote
Old 11-06-2017, 07:50 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is online now   Reply With Quote
Old 11-06-2017, 10:11 AM   #5
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
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
Now I just bookmark that URL, and things are sorted just as I want them.
haertig is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:26 PM.


MobileRead.com is a privately owned, operated and funded community.