Skip to content

Commit d4302ce

Browse files
committed
Added Level ordering for flibusta sequence processing
1 parent 198073d commit d4302ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
1414

1515
# Project version number
1616
set(PRJ_VERSION_MAJOR 8)
17-
set(PRJ_VERSION_MINOR 6)
17+
set(PRJ_VERSION_MINOR 61)
1818
configure_file("${PROJECT_SOURCE_DIR}/cmake/version.h.in" "${PROJECT_BINARY_DIR}/version.h")
1919
include_directories("${PROJECT_BINARY_DIR}")
2020

lib2inpx/lib2inpx.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,9 @@ void get_book_squence(const mysql_connection& mysql, const string& book_id, stri
541541
} else {
542542
str = "SELECT `SeqId`,`SeqNumb` FROM libseq WHERE BookId=" + book_id;
543543
if (g_series_type == eAuthorST) {
544-
str += " ORDER BY Type ASC";
544+
str += " ORDER BY Type ASC, Level ASC";
545545
} else if (g_series_type == ePublisherST) {
546-
str += " ORDER BY Type DESC";
546+
str += " ORDER BY Type DESC, Level ASC";
547547
}
548548
}
549549

0 commit comments

Comments
 (0)