Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2011, 01:18 PM   #16
BookJunkieLI
Evangelist
BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.
 
BookJunkieLI's Avatar
 
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
Quote:
Originally Posted by chaley View Post
I submitted a change that sorts the tags in case-insensitive alpha order when they are read from the database. Assuming the change is accepted, tags columns will sort as they visually appear. Note that this is a string sort, meaning that numbers will sort by their characters. Example: the tags 1, 2, 10 will sort 1, 10, 2.
Cool. Thanks, Chaley. I can live with that kind of sort order since I've had other programs do that to me too. I can just change it to 01, 02, etc if it really matters.
BookJunkieLI is offline   Reply With Quote
Old 01-16-2011, 10:18 AM   #17
peaceridge
Wizard
peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.
 
peaceridge's Avatar
 
Posts: 1,019
Karma: 4407864
Join Date: Feb 2009
Location: North Carolina
Device: Kobo Aura1, Nexus7.2, Galaxy Tab A 8.4, Ipad Air & Mini 6
What I would like is an option NOT to sort within the tag name at all - leave it just like I enter it. For example, I would like to have a value that says: "Health, Diet" and one that says "Heath, Vitamins", so that when I sort on the tag column all the Health are together instead of "Diet, Health" coming before "Health, Vitamins" or "Health, Diet" coming before "Vitamins, Health" - depending on whether it is ascending or descending. I've tried creating my own column, but got things like [1] at the end of the values.

UPDATE: As I was writing this, I had an idea that works perfectly - use a ":", so that I enter "Health: Vitamins" and "Health: Diet", sorts great and looks just like I entered them. I'm going to go ahead and post this (even though I have my answer) just in case someone else is looking through this thread for this kind of problem. Hopefully, using a colon won't cause some other problem in the database.




Quote:
Originally Posted by chaley View Post
I submitted a change that sorts the tags in case-insensitive alpha order when they are read from the database. Assuming the change is accepted, tags columns will sort as they visually appear. Note that this is a string sort, meaning that numbers will sort by their characters. Example: the tags 1, 2, 10 will sort 1, 10, 2.
peaceridge is offline   Reply With Quote
Advert
Old 01-16-2011, 10:25 AM   #18
chaley
Grand Sorcerer
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by peaceridge View Post
What I would like is an option NOT to sort within the tag name at all - leave it just like I enter it.
Not going to happen. The required information is not in the database.
Quote:
For example, I would like to have a value that says: "Health, Diet" and one that says "Heath, Vitamins", so that when I sort on the tag column all the Health are together instead of "Diet, Health" coming before "Health, Vitamins" or "Health, Diet" coming before "Vitamins, Health" - depending on whether it is ascending or descending. I've tried creating my own column, but got things like [1] at the end of the values.
Why did you use a series column? A text or enumeration column would have worked better. Or a text-tags-like if there are more than one Health:... applied to a book
Quote:
UPDATE: As I was writing this, I had an idea that works perfectly - use a ":", so that I enter "Health: Vitamins" and "Health: Diet", sorts great and looks just like I entered them. I'm going to go ahead and post this (even though I have my answer) just in case someone else is looking through this thread for this kind of problem. Hopefully, using a colon won't cause some other problem in the database.
Other than suggesting that you don't put the space after the colon, this should work fine. Colons have no special meaning to calibre. Note, though, that if you try to use this field in a file template, and if you use Windows (and possibly the others), the colon will be turned into an underscore. Colons are illegal in windows file names.
chaley is offline   Reply With Quote
Old 01-16-2011, 10:38 AM   #19
peaceridge
Wizard
peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.peaceridge ought to be getting tired of karma fortunes by now.
 
peaceridge's Avatar
 
Posts: 1,019
Karma: 4407864
Join Date: Feb 2009
Location: North Carolina
Device: Kobo Aura1, Nexus7.2, Galaxy Tab A 8.4, Ipad Air & Mini 6
"Why did you use a series column? A text or enumeration column would have worked better. Or a text-tags-like if there are more than one Health:... applied to a book - "

I think that is what I was using when I got the [1] at the end of the text.

"Other than suggesting that you don't put the space after the colon, this should work fine. Colons have no special meaning to calibre. "

Great - thanks for that - I'll remove the space after the colon.

"Note, though, that if you try to use this field in a file template, and if you use Windows (and possibly the others), the colon will be turned into an underscore. Colons are illegal in windows file names."

I don't think I would use it as a file template, but one never knows. So, I'll use a dash instead.

I'm just now starting to put my non-fiction on calibre, so, it is good to get these organizational aspects clarified up front.

Thanks for the feedback.
peaceridge is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR800 Some specific DR800S questions - screen size, sorting, firmware, stylus, etc. Albyr iRex 3 05-18-2010 06:19 PM
Tags and Sorting? smileyman Which one should I buy? 3 02-05-2010 12:34 PM
Title Sorting / Author Sorting ahi Sony Reader 0 09-14-2009 01:51 PM
Request/Questions About Sorting and Navigation movieking Calibre 13 08-26-2009 02:55 PM
sorting strahlemann Sony Reader 0 11-19-2008 10:09 PM


All times are GMT -4. The time now is 11:17 PM.


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