Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-24-2010, 12:48 PM   #1
thafrogggg
Rabid Book Weasel
thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.
 
thafrogggg's Avatar
 
Posts: 84
Karma: 1678
Join Date: Sep 2009
Device: Acer Iconia A500 Tablet (lovin' it!!)
Default sorting view

I have finally delved into caliber and I really like how customizable it is. I can not seem to make a sorting view that I want. I have searched for help here and on the online manual, but I must not be phrasing my search term correctly.

I want caliber to, by default, sort my books by author then by series. How do I do this and make it permanent?
thafrogggg is offline   Reply With Quote
Old 05-24-2010, 01:16 PM   #2
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: 26,129
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
version 0.7 will remember your last used sort, including the sub sort
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 05-24-2010, 01:16 PM   #3
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by thafrogggg View Post
I want caliber to, by default, sort my books by author then by series. How do I do this and make it permanent?
Click on the Series column, then the Author column.
Starson17 is offline   Reply With Quote
Old 05-24-2010, 01:25 PM   #4
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,644
Karma: 1137414
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by thafrogggg View Post
I want caliber to, by default, sort my books by author then by series. How do I do this and make it permanent?
I assume that by "permanent", you mean redo the sort on start up, and not that you are prevented from sorting by a column.

The calibre beta and subsequent releases support a 'tweak' that can be used to specify how to sort at start-up. The documentation is:
Code:
# Provide a set of columns to be sorted on when calibre starts
#  The argument is None if saved sort history is to be used
#  otherwise it is a list of column,order pairs. Column is the
#  lookup/search name, found using the tooltip for the column
#  Order is 0 for ascending, 1 for descending
# For example, set it to [('authors',0),('title',0)] to sort by
# title within authors.
sort_columns_at_startup = None
There is no GUI available for setting tweaks. To set the value, you edit the file 'tweaks.py' found in Calibre's configuration directory. A button is available under preferences/advanced to open that directory in a file explorer (whatever it is called on your system).
chaley is offline   Reply With Quote
Old 05-24-2010, 02:01 PM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by chaley View Post
I assume that by "permanent", you mean redo the sort on start up, and not that you are prevented from sorting by a column.

The calibre beta and subsequent releases support a 'tweak' that can be used to specify how to sort at start-up. The documentation is:
Code:
# Provide a set of columns to be sorted on when calibre starts
#  The argument is None if saved sort history is to be used
#  otherwise it is a list of column,order pairs. Column is the
#  lookup/search name, found using the tooltip for the column
#  Order is 0 for ascending, 1 for descending
# For example, set it to [('authors',0),('title',0)] to sort by
# title within authors.
sort_columns_at_startup = None
There is no GUI available for setting tweaks. To set the value, you edit the file 'tweaks.py' found in Calibre's configuration directory. A button is available under preferences/advanced to open that directory in a file explorer (whatever it is called on your system).
Charles,
Am I correct in thinking the tweak causes the desired sort on startup regardless of what sorting was in effect when Calibre was closed? Am I also correct in thinking that if the tweak is not applied, Calibre will sort on startup with the sort order that was in effect when Calibre was closed? Or is there another default sort order that is applied on startup? I did some quick tests and thought I confirmed my recollection that the last sort order in effect at close is applied on the next startup.
Starson17 is offline   Reply With Quote
Old 05-24-2010, 02:21 PM   #6
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,644
Karma: 1137414
Join Date: Jan 2010
Location: France
Device: Many android devices
@starson17:yes, the tweak replaces the sort history with whatever is specified in the tweak. No tweak = use sort history.
chaley is offline   Reply With Quote
Old 05-24-2010, 02:42 PM   #7
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by chaley View Post
@starson17:yes, the tweak replaces the sort history with whatever is specified in the tweak. No tweak = use sort history.
Thanks.

To the original poster, all this just means that each time you sort it, it will stay sorted that way until you sort it another way. The tweak lets you set it so that it reverts to a default on startup, if you want it to.

I suspect you asked how to do this because it doesn't look like it's sorting the way we're saying it's sorting. If it looks like the sorting isn't working correctly, there are a couple of possible reasons.

The most likely is that you are trying to sort by author, but you don't have the author_sort field set correctly. Use the edit metadata button to look at the author_sort field for your books. When you try to sort by author, it actually sorts by author_sort. Author_sort is supposed to be lastname, firstname, so that sorting is by lastname first, but sometimes it isn't correct.
Starson17 is offline   Reply With Quote
Old 05-24-2010, 02:48 PM   #8
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by kovidgoyal View Post
version 0.7 will remember your last used sort, including the sub sort
I didn't see this post by Kovid.... is this feature not in the main trunk yet? I'm running the beta 0.6.9x, but I thought it had been moved into the main trunk. If it's not there yet .... ooops.
Starson17 is offline   Reply With Quote
Old 05-24-2010, 02:52 PM   #9
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: 26,129
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
0.6.x remembers your last sort, not your last sub sort
kovidgoyal is offline   Reply With Quote
Old 05-24-2010, 03:06 PM   #10
thafrogggg
Rabid Book Weasel
thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.thafrogggg once ate a cherry pie in a record 7 seconds.
 
thafrogggg's Avatar
 
Posts: 84
Karma: 1678
Join Date: Sep 2009
Device: Acer Iconia A500 Tablet (lovin' it!!)
I am using V.6.54.

Starson17 had the answer for me. That works perfectly. I was clicking the columns in the wrong order.

Chaley, Once the current beta is upgraded to non beta status, I will more than likely move to it. That tweak editing option sounds like a real winner.

Once again, great work by all you Devs. The more I use caliber, the more I learn and like it.
thafrogggg is offline   Reply With Quote
Old 05-24-2010, 03:46 PM   #11
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by kovidgoyal View Post
0.6.x remembers your last sort, not your last sub sort
Yes, now I recall. Calibre moves so quickly it's hard to stay up to date. (Not that I want it slowed down)
Starson17 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to exclude tags/titles in the default view? texasnightowl Calibre 17 08-18-2010 12:11 PM
Possible to have default view as code view? sherman Sigil 5 06-15-2010 01:47 AM
Is it possible to view the Format of a book in Library view? highwaykind Calibre 6 01-23-2010 06:28 PM
Title Sorting / Author Sorting ahi Sony Reader 0 09-14-2009 01:51 PM
Default view format jedavis1 Calibre 3 09-02-2009 06:00 PM


All times are GMT -4. The time now is 09:45 AM.


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