Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-21-2012, 12:26 PM   #1
DarkKniyt
Junior Member
DarkKniyt began at the beginning.
 
DarkKniyt's Avatar
 
Posts: 1
Karma: 10
Join Date: Nov 2012
Location: Michigan
Device: Kobo Aura H2O
Calibre Server Sort Issue

I have the Calibre-Server running on a home server and access it via a web browser on another pc.

I have a user added Column called "Chronology" that I wish to sort on when viewing from a web browser.

Right now the field has the following type of data in it:
'R1' thru 'R186'. (Indexed Series field type).

I can select "Chronology" from the home page and pull up the data but it is sorted starting from 'R186' with the last entry being 'R1'.

Is there a way to sort this in ascending-order?

Thanks in advance!
DarkKniyt is offline   Reply With Quote
Old 11-21-2012, 12:41 PM   #2
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: 44,548
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC in the server interface you can change the field you sort on but not the order (i.e. not ascending vs. descending).
kovidgoyal is offline   Reply With Quote
Old 11-21-2012, 12:51 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: 30,447
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That field sort will not work for you because it will 'Alpha sort'
to sort you need to pad the numbers with Leading 0's so the digits all have the same number of places

R001

otherwise you will get :
R1
R10
R100
R2
R20
R3
theducks is online now   Reply With Quote
Reply

Tags
index, server, sort

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with Calibre Server - Windows jawadams Calibre 14 07-17-2015 09:25 AM
Minor issue with Aldiko reader and calibre-server apuder Devices 0 08-11-2012 10:18 PM
Calibre-server port not open issue on Fedora server stueyboy Devices 0 08-17-2011 05:57 PM
Calibre Server - Sort Problem gabglus Calibre 7 03-18-2011 08:14 PM
PRS-505 author sort issue Worldwalker Calibre 6 03-17-2010 04:33 AM


All times are GMT -4. The time now is 04:38 AM.


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