Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2014, 05:56 AM   #1
unboggling
Wizard
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
Is series_sort a field?

Is series_sort a field that is usable by a calibre user?

I noticed series_sort is listed as a field in Preferences -> Look and Feel -> Book Details. But ticking the checkbox for series_sort in Look and Feel -> Book Details to display it in the Book Details pane did nothing apparent. No series_sort field showed up there.

Also series_sort is listed as a field in Edit Metadata in Bulk -> Search and replace -> Regular Expression mode in both the Search field and the Destination field menus. When I select it as Search field there, no values show up in the test area below.

There is a template function series_sort() which works fine as {:'series_sort()'} for composite column. I assume it applies the function to the value from the field series, according to the tweak Control formatting of title and series when used in templates. When I set that as save_template_title_series_sorting = 'library order' the composite column shows the series sort with ", The" or ", A" at the end, working as expected.

(Just for kicks I also tried the other tweak Control sorting of title and series in the library display set to title_series_sorting = 'library_order'. That worked as expected.)

I think I understand the template function series_sort().

But I don't understand why if series_sort is also a field in itself, it doesn't act like a field. There seems to be provision for a series sort column in the backend. Is this another one of those legacy things?

Last edited by unboggling; 01-03-2014 at 07:19 PM. Reason: Removed former edit (last para)
unboggling is offline   Reply With Quote
Old 01-03-2014, 07:55 AM   #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: 45,231
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's not a useable field.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-03-2014, 05:08 PM   #3
unboggling
Wizard
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
Thank you. I figured that was probably the case. With that confirmed, now I don't have to wonder about series_sort or if I'm crazy at 3 in the morning anymore.
unboggling is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy data from Title field to IDs field rlh3 Library Management 9 09-24-2012 08:12 AM
Field of Life and Field of Mind newone Self-Promotions by Authors and Publishers 1 07-23-2012 02:21 AM
Help with series_sort() razorsoup Calibre 4 04-10-2012 12:06 PM
Default value for read field (Yes/No-field) opitzs Library Management 3 11-09-2011 07:17 AM
Comments field emeybee Calibre 1 05-27-2010 02:01 PM


All times are GMT -4. The time now is 02:27 PM.


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