1
1
mirror of https://github.com/MarginaliaSearch/MarginaliaSearch.git synced 2025-10-05 21:22:39 +02:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Viktor Lofgren
b7d3b67a1d (language) Fix language configuration stub for German to not use French stemming 2025-10-02 10:15:30 +02:00
Viktor Lofgren
d28010b7e6 (search) Fix pagination in light mode 2025-10-02 09:04:49 +02:00
Viktor Lofgren
2689bd9eaa (chore) Update to Java 25
Unbreak test suites
2025-10-02 09:04:25 +02:00
4 changed files with 7 additions and 3 deletions

View File

@@ -123,7 +123,7 @@
</language>
<language isoCode="de" name="German" display="ltr">
<keywordHash algorithm="asciish" />
<stemmer algorithm="snowball" variant="FRENCH" />
<stemmer algorithm="snowball" variant="GERMAN" />
<sentenceDetector algorithm="opennlp"/>
<unicodeNormalization algorithm="german" />
</language>

View File

@@ -89,4 +89,6 @@ tasks.register('paperDoll', Test) {
includeTags "paperdoll"
}
jvmArgs = [ '-DrunPaperDoll=true', '--enable-preview' ]
classpath = sourceSets.test.runtimeClasspath
testClassesDirs = sourceSets.test.output.classesDirs
}

View File

@@ -135,4 +135,6 @@ tasks.register('paperDoll', Test) {
includeTags "paperdoll"
}
jvmArgs = [ '-DrunPaperDoll=true', '--enable-preview' ]
classpath = sourceSets.test.runtimeClasspath
testClassesDirs = sourceSets.test.output.classesDirs
}

View File

@@ -79,9 +79,9 @@
<div class="mt-8 flex justify-center space-x-2 font-mono text-sm">
@for(ResultsPage page : results.getResultPages())
@if (page.current())
<a href="${results.getParams().withPage(page.number()).renderUrl()}" class="px-2 py-1 border dark:border-gray-600 border-gray-300 bg-gray-100 dark:bg-gray-900">${page.number()}</a>
<a href="${results.getParams().withPage(page.number()).renderUrl()}" class="px-2 py-1 border dark:border-gray-600 border-gray-400 bg-gray-200 dark:bg-gray-900">${page.number()}</a>
@else
<a href="${results.getParams().withPage(page.number()).renderUrl()}" class="px-2 py-1 bg-white border dark:border-gray-600 border-gray-300 hover:bg-gray-100 dark:bg-gray-800 hover:bg-gray-900">${page.number()}</a>
<a href="${results.getParams().withPage(page.number()).renderUrl()}" class="px-2 py-1 bg-white border dark:border-gray-600 border-gray-300 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-900">${page.number()}</a>
@endif
@endfor
</div>