Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2023, 10:37 PM   #1
SnackApp
Junior Member
SnackApp began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2023
Device: none
Sort by identifier (id)?

How can I sort by identifier (id)?

creating a custom ISBN column didn't work.

thanks for the help!
SnackApp is offline   Reply With Quote
Old 06-25-2023, 10:47 PM   #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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
What didn't work - creating the custom column or sorting it?

This works for me:

Click image for larger version

Name:	Screenshot 2023-06-26 124448.jpg
Views:	136
Size:	54.9 KB
ID:	202299

Code:
{identifiers:select(isbn)}
BR
BetterRed is offline   Reply With Quote
Old 06-25-2023, 11:26 PM   #3
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,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
{id} is the startup sort if you have not configured something else.
Sort on {date} works if you have not repurposed that (or changed it).
Both are set when the record is first created.
theducks is online now   Reply With Quote
Old 06-26-2023, 01:57 AM   #4
SnackApp
Junior Member
SnackApp began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2023
Device: none
Quote:
Originally Posted by BetterRed View Post
What didn't work - creating the custom column or sorting it?

This works for me:

Attachment 202299

Code:
{identifiers:select(isbn)}
BR

thank you, this was what I was referring to. I guess I did something wrong, this worked for ISBN: tags

some are labeled amazon:
some are labeled mobi-asin:

is there anyway to do it without making a separate header for all of them?
SnackApp is offline   Reply With Quote
Old 06-26-2023, 04:19 AM   #5
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by SnackApp View Post
thank you, this was what I was referring to. I guess I did something wrong, this worked for ISBN: tags

some are labeled amazon:
some are labeled mobi-asin:

is there anyway to do it without making a separate header for all of them?
Not that I know of, maybe you could combine them via Preferences->Searching->Grouped searches - but I don't know that a Group search or User category can be shown as sortable book list column - I have my doubts. Maybe via another template?

Why do you want to sort on identifiers?

BR

Last edited by BetterRed; 06-26-2023 at 05:53 AM.
BetterRed is offline   Reply With Quote
Old 06-26-2023, 08:30 AM   #6
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,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
BR asked the question. Unless they are special (custom), the only ones that make sense would be ISBN, and that is limited.
ISBN has a pattern (length is 10)
First section is Language. The majors are single digit,
Next is publisher. that can be 1-7 digits A 'vanity press might get a 7 digit one.
The next to last is the Book (in assigned sequence) number
And the last is a calculated Mod10 checksum 0-X

So sorting by ISBN would mostly by group Language, then Publisher
I have no clue if ASIN type have any significant (other than Warehousing) Logic included
theducks is online now   Reply With Quote
Old 06-26-2023, 10:58 AM   #7
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Also ISBNs are really for retail ordering. Different sizes on paper have different ISBNs. An ebook need not have an ISBN. A revision (even if hard to see) will have a different ISBN for same paper size.

When we did a book library lending system each physical book got a unique barcode (different format to EAN/UPC/ISBN to avoid confusion). The ISBN wasn't used, except as extra book data.

The only value really of ISBN to a library system is adding fresh physical copies to the database as the ISBN can be looked up, ONCE.

Usually ebooks have the Author, Title and other metadata in the file. An ISBN is maybe only of value (limited) to find additional metadata or a cover, but the initial metadata is usually OK for this. So on Calibre I have no interest at all in ASIN or ISBN for ebooks. I might use ISBN just once on a paper book if I was adding it to a catalogue, library system or Calibre. I'm tempted to at least catalogue my approx 3000 paper books on Calibre, but the rest of the family doesn't use Calibre directly (it's single user anyway) and are happy to hunt the shelves for paper titles.
We duplicate any paper titles we like that come up cheap or appear as PD (I've actual paper editions to turn of 20th C and plenty of books by sufficiently dead people).

Mostly accurate
https://en.wikipedia.org/wiki/ISBN

I can't see why you'd sort by any kind of ID, either ISBN, ASIN or Calibre ID (any database will have a per record unique ID).

Edit:
The Country part might be where the publisher bought a block of ISBNs. It doesn't always mean the publishing country and certainly not the country of the author, which might be more important. I'd not even assume the language ID is correct. It might be the language selected at the time an ISBN block was bought. Technically it might just be an official language of the Registrant's Country. Thus a book with 1 (for English) could be in Irish, Manx, Cornish, Channel Is. Norman-French, Scot's Gaelic, Doric, Ulster-Scots etc. Maybe even in Maltese.

Last edited by Quoth; 06-26-2023 at 11:14 AM.
Quoth is offline   Reply With Quote
Old 06-26-2023, 01:28 PM   #8
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
matrix of book:identifiers

See the attached matrix of book:identifiers created by the Job Spy plugin. The JS Tool is under the Metadata sub-menu with the obvious item name.


DaltonST
Attached Thumbnails
Click image for larger version

Name:	js_show_matrix_of_book_identifiers_selected_books.png
Views:	113
Size:	94.8 KB
ID:	202310  
DaltonST is offline   Reply With Quote
Old 06-26-2023, 04:34 PM   #9
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by DaltonST View Post
See the attached matrix of book:identifiers created by the Job Spy plugin.
But what use is it to ordinary humans?
Quoth is offline   Reply With Quote
Old 06-26-2023, 08:34 PM   #10
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Quoth View Post
But what use is it to ordinary humans?
Bugger all, but it might be very useful to a professional librarian.

BR
BetterRed is offline   Reply With Quote
Old 06-27-2023, 07:43 AM   #11
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by BetterRed View Post
Bugger all, but it might be very useful to a professional librarian.
Ook!

Where are the bananas?
Quoth is offline   Reply With Quote
Old 06-30-2023, 07:37 AM   #12
maddz
Wizard
maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.
 
Posts: 1,403
Karma: 30039536
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
What are you trying to achieve by sorting by ID? Not every entry will have an ISBN, and even if it does, it may be incorrect or duplicated or a weird format.

A unique ID for all your records is the Calibre ID which corresponds to the book ID in the Calibre database. I use it to link to link the Calibre record to the corresponding record in my LibraryThing account.
maddz is offline   Reply With Quote
Old 06-30-2023, 11:16 AM   #13
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,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Wait up, this is getting confusing My first answer was because I thought they wanted the Calibre index # sorted

{id} is the CALIBRE index number seen at the end of a folder name
Code:
C:\Users\thedu\Calibre Library\John Schember\Quick Start Guide (1)
{identifiers:isbn} finds (catalog) Ids like ISBN
Kovid, can this label in details be changed to Identifiers, thus making it real clear which we are talking about ?
Attached Thumbnails
Click image for larger version

Name:	Identifiers.JPG
Views:	89
Size:	43.2 KB
ID:	202373  
theducks is online now   Reply With Quote
Old 07-01-2023, 07:15 PM   #14
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
↑ ↑ ↑

This is why my libraries have a '#book-num/Book#' virtual column using the template {id}.

BR
BetterRed is offline   Reply With Quote
Old 07-02-2023, 01:21 PM   #15
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
As indicated above, the isbn of a book varies if it is a soft cover or a hard cover.
What I do is assign an identifier according to the store that bought the book.
And in a personalized column according to the store, it brings me the corresponding isbn.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	91
Size:	58.5 KB
ID:	202416  
dunhill is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What identifier is this? Rellwood Library Management 3 08-06-2021 11:15 PM
Sort by author and then publish date (multi-column sort)? badbob001 Library Management 7 07-22-2020 06:45 PM
Sort by Author doesn't then sort by title jmcging Library Management 7 07-02-2017 10:16 PM
'Title Sort' & 'Author Sort' Search/Report Funkybassman Calibre 3 04-17-2016 12:31 PM
Update 'title sort' and 'author sort' through CLI wladdy Library Management 1 07-16-2015 05:12 PM


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


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