06-12-2013, 12:34 AM | #1 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Sorting Shelves by Number of books
When I sort the Shelves by the number of books, I get all the shelves with 9 books, then 8, then 73, then 7, then 6 etc.
Like this Spoiler:
Any way to make this work right? Helen |
06-12-2013, 02:22 AM | #2 |
GranPohbah-Fezzes r cool!
Posts: 1,056
Karma: 3151024
Join Date: Jul 2010
Device: Nook STRs, Kobo Touch, Kobo Glo
|
Not until they make that sort by numeric value rather than character value I'd guess...
|
Advert | |
|
06-12-2013, 02:34 AM | #3 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
How do you sort the shelf list by size? I don't see an option on either the Glo or the Touch. Is this an AuraHD thing?
And yes, some programmer needs to be rapped across the knuckles for sorting numbers as a string. |
06-12-2013, 05:53 AM | #4 | |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
When you are in the shelf menu you have option to sort by shelf name or number of books or date created. Oh well, maybe we should all chip in and buy them a copy of Knuth's Sorting and searching Helen |
|
06-12-2013, 10:10 AM | #5 |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
It looks to me as if the problem is that the No. of books field has been created as a string, i.e. No. books appended with the word 'Book'/'Books'. Hence the alpha- rather than numeric-sort.
You have to wonder how experienced these programmers are. I'm fairly sure I'd got this schoolboy(girl) error knocked out of me during my trainee programmer phase. |
Advert | |
|
06-12-2013, 10:23 AM | #6 |
Grand Sorcerer
Posts: 7,462
Karma: 67000001
Join Date: Feb 2009
Device: Kobo Glo HD
|
|
06-12-2013, 02:26 PM | #7 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
|
06-12-2013, 07:47 PM | #8 |
GranPohbah-Fezzes r cool!
Posts: 1,056
Karma: 3151024
Join Date: Jul 2010
Device: Nook STRs, Kobo Touch, Kobo Glo
|
characters... somehow that fits for Kobo Developers.
Somehow, that characters vs. numeric field sort of stuff doesn't surprise me at all. Took me under a second to figure out what was going on when I saw the sequence that was posted. I've come to expect a certain level of competence one might say...
|
06-12-2013, 08:19 PM | #9 | |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
Helen |
|
06-12-2013, 11:22 PM | #10 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Apart from it being such a rookie mistake, it is also surprising when you look back at the series sorting they had. That did have the number treated as a number for most circumstances. The simple numbers worked, it was only when there was a decimal that it broke.
Helen: Could you look in the "Kobo Reader.conf" and tell me what the following lines looks like: Quote:
|
|
06-12-2013, 11:49 PM | #11 | |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
LastLibrarySorter_shelfList_=sortByShelfName() With Sort:number of books selected LastLibrarySorter_shelfList_=sortByItemCount() Helen Spoiler:
Last edited by speakingtohe; 06-12-2013 at 11:54 PM. Reason: Added Spoiler |
|
06-13-2013, 01:31 AM | #12 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
06-13-2013, 01:44 AM | #13 | |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
Still your Gui Kobo Utilities plugin has made me feel a little less frustrated with the futility of it all, and even with the sort by number of books not working correctly it almost seems helpful Helen |
|
06-13-2013, 02:05 AM | #14 | ||
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
And I'm glad you like the plugin. It makes my life easier as well. |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mini Losing books in shelves on Kobo Mini when I connect to Calibre | AliciaNunz | Kobo Reader | 4 | 01-11-2013 08:56 PM |
Touch shelves count books twice? | purple_fishy | Barnes & Noble NOOK | 3 | 12-20-2011 12:51 PM |
Touch Sideload books and shelves? | Antioch | Barnes & Noble NOOK | 1 | 06-08-2011 01:17 PM |
SD card books vanish from shelves/collections | Otter | Nook Color & Nook Tablet | 8 | 01-20-2011 04:29 AM |
Sorting books by title | Laurentiu | Calibre | 13 | 09-29-2010 09:09 AM |