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 04-04-2020, 03:12 AM   #1
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
Problem Sorting and accessing Custom Columns

I created a custom column called "notes". When I sort the column, it is not showing things in alphabetic order. I use the field to indicate many things including where the book is loaded. So, for example, the sort will show the comments NOOK/NOTE/TAB in a group, then other comments starting with just about any other letter, then another group off NOOK/NOTE/TAB. I even looked at the HTML in the field and there is nothing different.. What am I doing wrong?

Also, I have this notes column in multiple libraries. In some libraries, I can do a quick access with a slow double-click on the data field. In others it will not work and only brings up the change window, why?

Also, in some libraries, it will allow me to bulk update the custom column. In others, the custom field tab is blank and I can only update the data one book at a time, why?
Thanks for any help..
I'm on Calibre 4.13
jguneysu is offline   Reply With Quote
Old 04-04-2020, 03:55 AM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,696
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by jguneysu View Post
I created a custom column called "notes". When I sort the column, it is not showing things in alphabetic order. I use the field to indicate many things including where the book is loaded. So, for example, the sort will show the comments NOOK/NOTE/TAB in a group, then other comments starting with just about any other letter, then another group off NOOK/NOTE/TAB. I even looked at the HTML in the field and there is nothing different.. What am I doing wrong?
I'm not sure you can sort long text columns. What do you have in the Interpret this column as: field, it might sort of it's not HTML

Quote:
Originally Posted by jguneysu View Post
Also, I have this notes column in multiple libraries. In some libraries, I can do a quick access with a slow double-click on the data field. In others it will not work and only brings up the change window, why?
What do you mean by 'quick access', But, have a look at this tweak:

Click image for larger version

Name:	Annotation 2020-04-04 184931.jpg
Views:	118
Size:	190.3 KB
ID:	178096

The settings I have mean double click and enter do nothing, but I still have F2 to edit the cell - which is perfect for me.

Quote:
Originally Posted by jguneysu View Post
Also, in some libraries, it will allow me to bulk update the custom column. In others, the custom field tab is blank and I can only update the data one book at a time, why?
Thanks for any help..
I'm on Calibre 4.13
The JobSpy plugin has a metadata tool to update long text columns in bulk, see ==>> Index of plugins

BR
BetterRed is offline   Reply With Quote
Advert
Old 04-04-2020, 09:25 AM   #3
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
Thanks so much for your input!
1. Interpret this column is set to html.. tried other values, but, it didn't help. Also, I have had a "Notes" custom column since about 2013 in all my libraries and didn't start having this sorting problem until this last year.. ? I think something got messed up in one of the Calibre updates maybe
2. By "quick access" I mean that you can click once on the field, then click again (not a double-click to open book) and the field data is editable in place. It does this in SOME of my libraries on the Notes field, but, in others, it opens a completely separate mini-window in which you do the editing and then have to click on the "save" button at the bottom.. considerably more cumbersome.. why would it work in one library and not in another?
3. Again, why would some libraries allow bulk edit of this Notes column just fine, but, other libraries just bring up a blank list on the Custom Metadata tab when you try to do a bulk edit (no fields shown to edit)? Why would I need a plug-in for SOME libraries but not others?

There must be something behind the scenes that I am missing as to how column editing and sorting is controlled. I have clicked on EVERYTHING to try to find some kind of option(s) that might be causing these problems.. it's driving me crazy!
jguneysu is offline   Reply With Quote
Old 04-04-2020, 10:20 AM   #4
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,003
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 jguneysu View Post
Thanks so much for your input!
1. Interpret this column is set to html.. tried other values, but, it didn't help. Also, I have had a "Notes" custom column since about 2013 in all my libraries and didn't start having this sorting problem until this last year.. ? I think something got messed up in one of the Calibre updates maybe

2. By "quick access" I mean that you can click once on the field, then click again (not a double-click to open book) and the field data is editable in place. It does this in SOME of my libraries on the Notes field, but, in others, it opens a completely separate mini-window in which you do the editing and then have to click on the "save" button at the bottom.. considerably more cumbersome.. why would it work in one library and not in another?

3. Again, why would some libraries allow bulk edit of this Notes column just fine, but, other libraries just bring up a blank list on the Custom Metadata tab when you try to do a bulk edit (no fields shown to edit)? Why would I need a plug-in for SOME libraries but not others?

There must be something behind the scenes that I am missing as to how column editing and sorting is controlled. I have clicked on EVERYTHING to try to find some kind of option(s) that might be causing these problems.. it's driving me crazy!
#1 Validate the problem Libraries. Right click the Library Icon: Library Maintenance: Check Library. run both phases. 1)tests the DB structure. 2) makes sure the books match the entry

#2 has a tweak. The 'as shipped' (normal) is edit
# Control behavior of the book list

#3 is a Per Library (field) configuration. You need to make Each (notes field) look like the one (Library) that works
theducks is offline   Reply With Quote
Old 04-04-2020, 10:34 AM   #5
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
1. When I right click on the library icon, there is no longer a "Maintenance" choice on the list. I used to have it, but, it is no longer there.. which release are you running?

2. Wouldn't a "tweak" affect all libraries? I don't see where you would indicate that it does one thing on one library and something else in another. I tried changing the Control Behavior of the Book List as you indicated previously, but, it just made things worse and affected all libraries.

3. I tried, but, the Column Type field is greyed-out and does not allow changes. Also, the one that WORKS, does not show the two fields, Column Heading and Interpret this Column As when you go into edit mode for the custom metadata field. Why would the fields be different from one library to the next?
jguneysu is offline   Reply With Quote
Advert
Old 04-04-2020, 11:10 AM   #6
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,300
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Library maintenance is still there, if you are not seeing it then you probably have a device connected. Disconnecte it and you will be fine.
kovidgoyal is offline   Reply With Quote
Old 04-04-2020, 01:42 PM   #7
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
Thanks so much Kovid!.. I disconnected the folder as device I was using and the Maintenance options came up!.. I deleted two extraneous files that were reported and restarted Calibre, but, it had no affect on any of the sorting or editing of custom metadata column problems I'm having.. back to the drawing board
jguneysu is offline   Reply With Quote
Old 04-04-2020, 05:04 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,696
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@jguneysu - could you post screen shots of a) the relevant custom column definitions in the different libraries, b) the Control behaviour of the book list tweak (yes it does operate on all libraries)

And, what happens if you Press F2 on the book list cells

HTML long text columns should show this,

Click image for larger version

Name:	Annotation 2020-04-05 065508.jpg
Views:	165
Size:	61.0 KB
ID:	178106

Plain long text columns should show this,

Click image for larger version

Name:	Annotation 2020-04-05 065846.jpg
Views:	150
Size:	88.0 KB
ID:	178107

BR
BetterRed is offline   Reply With Quote
Old 04-05-2020, 03:53 AM   #9
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
This is how in-line editing looks for my Notes column.. this is how I want it to work in all my libraries:
jguneysu is offline   Reply With Quote
Old 04-05-2020, 04:02 AM   #10
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
Please forgive me, but, I have never posted an image before.. I am beyond frustrated trying to figure out how it works.. I tried to search 10 different ways and all results that come up look totally unrelated to what I searched for about posting images.. grrr

I clicked in the Insert Image icon in the Quick Reply window and it wants me to enter a URL.. it seems like you should be able to browse your computer for an image, but, it implied to me that you need to upload something.. So, I had to look all over the place and finally found a place to create Albums and upload pictures in my profile. I did that and clicked on the picture where it displayed a URL. I used that URL when the Insert Image wanted a URL and submitted the reply.. it barfed all over it so obviously that is not how you do it.. Why is it so complicated to post an image??
jguneysu is offline   Reply With Quote
Old 04-05-2020, 04:04 AM   #11
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
Click on the "Go Advanced" button in the quick reply box and use the paperclip to attach the image.
georgemk is offline   Reply With Quote
Old 04-05-2020, 04:18 AM   #12
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
Calibre Custom Metadata Issues

UNTIL I CAN FIGURE OUT HOW TO POST IMAGES...

Quote:
Originally Posted by BetterRed View Post
@jguneysu - could you post screen shots of a) the relevant custom column definitions in the different libraries,

LIBRARY WHERE I CAN EDIT NOTES THE WAY I WANT TO (IN LINE):
Edit custom column
Lookup name notes
Column heading Notes
Column type Text, column shown in the Tag browser
(this field is greyed out and no changes allowed)
Description (blank)

LIBRARY WHERE IT FORCES YOU TO USE A POP UP WINDOW:
Edit custom column
Lookup name notes
Column heading Notes
Column type Long text, like comments, not shown in the Tag browser
(this field is greyed out and no changes allowed)
Description (blank)
Column heading No heading
Interpret this column as HTML


b) the Control behaviour of the book list tweak (yes it does operate on all libraries)

CONTROL BEHAVIOR OF BOOK LIST: (DON'T THINK A SCREENSHOT IS NEEDED HERE..)
# Control behavior of the book list

doubleclick_on_library_view = u'open_viewer'

enter_key_behavior = u'do_nothing'

horizontal_scrolling_per_column = True



And, what happens if you Press F2 on the book list cells

WHEN I PRESS F2, THIS TYPE OF EDITING WINDOW COMES UP.. THAT IS THE CUMBERSOME WAY THAT I DON'T WANT. I JUST WANT TO EDIT THE FIELD IN PLACE LIKE YOU CAN TO WITH TITLE AND SERIES, ETC..

HTML long text columns should show this,

Attachment 178106

I NEVER GET THIS SIMPLE WINDOW:
Plain long text columns should show this,

Attachment 178107

BR
jguneysu is offline   Reply With Quote
Old 04-05-2020, 04:22 AM   #13
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
Calibre Custom Metadata Issues

See attached list of images.
Attached Thumbnails
Click image for larger version

Name:	Notes-Worksi(in-line editing).PNG
Views:	87
Size:	267.3 KB
ID:	178112   Click image for larger version

Name:	Notes-Doesn't Work(popup).PNG
Views:	81
Size:	275.5 KB
ID:	178113   Click image for larger version

Name:	Tweaks.PNG
Views:	96
Size:	274.5 KB
ID:	178114   Click image for larger version

Name:	Notes-Doesn't Work.PNG
Views:	95
Size:	523.4 KB
ID:	178115   Click image for larger version

Name:	Notes-Works.PNG
Views:	90
Size:	524.2 KB
ID:	178116  
jguneysu is offline   Reply With Quote
Old 04-05-2020, 04:23 AM   #14
jguneysu
kitaphanımı
jguneysu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2011
Device: Nook 2nd Generation
Thanks so much georgemk
jguneysu is offline   Reply With Quote
Old 04-05-2020, 05:45 AM   #15
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,696
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@jguneysu - once it is defined the Column type cannot be changed.

In your fourth image the Column type of the Notes column is Long text, like Comments, not shown in tab browser", with Interpret this column as set to HTML

In your fifth image the Column type of the Notes column is Text, shown in tab browser"

The Column type controls how data can be entered, e.g. an Integer can only have digits and a sign.

To get what you say you want, you will need to to have Column Type for Notes, set as it is in image 5 (i.e. Text, shown in Tag Browser) in both libraries. You cannot change column type once its set, but you can change the lookup name, so I suggest you change the one that's wrong to bad_notes and then add a fresh notes column of type Text, shown in Tag Browser.

You may be able to use Bulk Edit Search and Replace to move bad_notes to notes, but backup the library first. Without access to the data I'm not sure what the regex would be, and I've needed to move an HTML column to a Text column.

However, looking at the data, I suspect it might be easier to do it by hand. Select the NOOK/NOTE/TAB books and use Bulk Edit to put NOOK/NOTE/TAB into the new notes column etc, etc.

When you've done all the variants remove the bad_notes column.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with subdirectories in custom columns Paul-CalibreUser Library Management 2 12-04-2018 04:12 AM
Help Needed for Custom Columns Created From other Columns Tanjamuse Library Management 5 09-02-2018 06:19 PM
Sorting on numeric custom columns? rmzg Calibre Companion 8 10-08-2016 04:04 AM
Sorting fanfiction by like/dislike ratio using custom columns? crackshot91 Library Management 6 11-26-2013 02:47 PM
Content server and custom columns problem capnm Calibre 2 03-01-2011 03:25 PM


All times are GMT -4. The time now is 09:44 PM.


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