emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/calibre 8560bbd48b 75/76: Sort in ascending order by se


From: ELPA Syncer
Subject: [elpa] externals/calibre 8560bbd48b 75/76: Sort in ascending order by series index
Date: Thu, 18 May 2023 09:57:47 -0400 (EDT)

branch: externals/calibre
commit 8560bbd48b68889015545100331964a9b814fed9
Author: Kjartan Óli Ágústsson <kjartanoli@disroot.org>
Commit: Kjartan Óli Ágústsson <kjartanoli@disroot.org>

    Sort in ascending order by series index
    
    * calibre-book.el (calibre-book-sort-by-series): Sort in ascending
    order by series index.
---
 calibre-book.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calibre-book.el b/calibre-book.el
index dea62879bf..4746e6890a 100644
--- a/calibre-book.el
+++ b/calibre-book.el
@@ -120,7 +120,7 @@ for private functions."
       (cl-case (compare-strings (calibre-book-series a) nil nil
                                   (calibre-book-series b) nil nil)
           (-1 t)
-          ((eq t) (> (calibre-book-series-index a)
+          ((eq t) (< (calibre-book-series-index a)
                      (calibre-book-series-index b)))
           (1 nil)))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]