|
|
Thread Tools | Search this Thread |
06-07-2019, 11:46 PM | #1 |
Member
Posts: 21
Karma: 10
Join Date: Jan 2013
Device: none
|
Adding custom column with any lookup-name gives me empty column as a result?
I'm trying to add a custom column, but no matter what I choose, it results in an empty column.
For example:
Why? Am I missing something here? Last edited by Ahu Lee; 06-08-2019 at 12:00 AM. |
06-08-2019, 12:03 AM | #2 |
null operator (he/him)
Posts: 21,164
Karma: 28819096
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The attributes of Built-in Columns (the ones without an ionic column symbol) cannot be changed via Add your own Custom Columns.
There's a Tweak for date formats, viz: BR |
Advert | |
|
06-08-2019, 12:37 AM | #3 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2013
Device: none
|
Quote:
In my tweak the timestamp format is set as yyyy-MM-dd. In the Edit custom column dialog it says "Default: dd MMM yyyy" on the right side of the "Format for dates" field. I tried both. Nothing changed. I can also, for example, use the authors variable/lookup-name with text column type and it will also be empty. Last edited by Ahu Lee; 06-08-2019 at 12:47 AM. |
|
06-08-2019, 01:02 AM | #4 |
null operator (he/him)
Posts: 21,164
Karma: 28819096
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
If you want the timestamp/Date column displayed as 'YYYY', you need to change the setting I posted before in Preferences->Advanced->Tweaks, viz:
You may have to scroll Preferences windows to get to Advanced. Search for 'date' You can only add or change Custom columns in Preferences->Add your own columns - e.g. the ones in the red box, viz: The built-in columns are in that list so you can a) include/exclude Book List columns and b) order the Book List columns. BR |
06-08-2019, 01:42 AM | #5 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2013
Device: none
|
Quote:
I also understand what the word 'custom' means. And I'm not trying to change any column which is not custom. So, now once the above is established I can only try to repeat/rephrase what my problem/confusion is about. There are different default lookup-names in Calibre (title, size, timestamp, authors etc.). I think of them as variables of sort. Am I right about it or wrong? And since I think of them as kind of variables I expect that they can be called. Am I right about it or wrong? So, I expected I could use those lookup names/variables in my custom column, but apparently it's not so, because all I got were empty columns. So, non-working (as I expect them to) lookup-names is my issue. That's what I don't understand and that's where I need help. Last edited by Ahu Lee; 06-08-2019 at 02:02 AM. |
|
Advert | |
|
06-08-2019, 02:14 AM | #6 |
creator of calibre
Posts: 44,700
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you wan tto create a column that shows data from other columns it has to be of type "Column built from other clumns" and you have to specify a template for it. https://manual.calibre-ebook.com/template_lang.html
|
06-08-2019, 02:34 AM | #7 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2013
Device: none
|
Quote:
|
|
06-08-2019, 02:59 AM | #8 |
Addict
Posts: 206
Karma: 547516
Join Date: Mar 2008
Location: Berlin, Germany
Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3
|
Custom columns are mainlya way for you to store information for your books not fitting the standard columns. When they are created, they are empty. You can then fill them with your info.
"Column built from other columns" is a way to combine existing informations and make it available in searches and templates. Too many columns of this kind can slow down your library, because the information is always calculated on the fly. To use author_sort you do not need a custom column, that is already a lookup name Edit: Maybe you could tell us what goal you want to reach? There might be a way there, you are not seeing right now. Last edited by Sunlite; 06-08-2019 at 03:01 AM. |
06-08-2019, 03:13 AM | #9 | |
Bibliophagist
Posts: 41,581
Karma: 161499388
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
06-08-2019, 03:31 AM | #10 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2013
Device: none
|
Quote:
Just to clarify. So, is it true that there's no way for me to have a column in Calibre which would use "Author sort" field instead of "Author(s)" one? Or it can be done applying some Python magic somewhere at least? Last edited by Ahu Lee; 06-08-2019 at 03:36 AM. |
|
06-08-2019, 04:00 AM | #11 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2013
Device: none
|
Quote:
Last edited by Ahu Lee; 06-08-2019 at 04:08 AM. |
|
06-08-2019, 04:21 AM | #12 | |
Addict
Posts: 206
Karma: 547516
Join Date: Mar 2008
Location: Berlin, Germany
Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3
|
Quote:
You can creat a custom column with "Column built from other columns" from type "Text" with the template {author_sort}. After a restart of Calibre this column will display the value of author_sort. |
|
06-08-2019, 04:50 AM | #13 |
Member
Posts: 21
Karma: 10
Join Date: Jan 2013
Device: none
|
That did what I wanted! But I should say this was absolutely counterintuitive to me. "Column built from other columns" could be called "The quick brown fox jumps over the lazy dog" and it would make as much sense to me.
|
06-08-2019, 08:59 AM | #14 |
Guru
Posts: 797
Karma: 2090886
Join Date: May 2019
Device: Kindle Oasis 1st Gen
|
Well, now you are a wiser and better person for having learned something!
|
06-08-2019, 11:39 AM | #15 | |
Well trained by Cats
Posts: 30,541
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
As others have pointed out: table (more columns and those 'built') bloat, slow things down. The bigger the Library, the more important this becomes. FWIW Code:
author_sort:jones Anne Lee Jones Mary Jones Wilbur Jones (or Jones, Anne Lee Jones, Mary Jones, Wilbur ) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add checking for an empty custom column using Quality Check plug-in? | pg111 | Calibre | 11 | 11-13-2018 01:26 AM |
Move selected data from series column to a new custom column | fvdham | Library Management | 3 | 06-02-2017 04:49 PM |
Can I have a custom column filled when adding books? | LadyKate | Library Management | 1 | 10-01-2016 11:58 PM |
Crash when adding a custom (built) column | MidwestJen | Library Management | 13 | 12-06-2014 04:52 PM |
Adding books to custom column | Gazella | Calibre | 2 | 12-27-2012 12:28 PM |