cosmetic
This commit is contained in:
parent
62f5849305
commit
1d3ee5e10d
|
@ -1338,7 +1338,7 @@ async function storeTitleIndex () {
|
||||||
query: `
|
query: `
|
||||||
SELECT
|
SELECT
|
||||||
titleKey,
|
titleKey,
|
||||||
urlSorted.rowid - 1 AS articleNumber
|
urlSorted.rowid - 1 AS urlIndex
|
||||||
FROM urlSorted
|
FROM urlSorted
|
||||||
JOIN articles
|
JOIN articles
|
||||||
USING (id)
|
USING (id)
|
||||||
|
@ -1349,8 +1349,8 @@ async function storeTitleIndex () {
|
||||||
logPrefix: 'storeTitleIndex',
|
logPrefix: 'storeTitleIndex',
|
||||||
rowCb: ( row, index ) => {
|
rowCb: ( row, index ) => {
|
||||||
if ( row.titleKey == mainPage.titleKey )
|
if ( row.titleKey == mainPage.titleKey )
|
||||||
mainPage.index = row.articleNumber
|
mainPage.index = row.urlIndex
|
||||||
return row.articleNumber
|
return row.urlIndex
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user