This commit is contained in:
philipp 2023-11-06 09:38:58 +01:00
parent 0c2fcfcea8
commit f30d93844f
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ RISolve
# Next step
- [ ] UrhG § 17 Abs. 1 not parsed
- [ ] Write test for full UrhG/MSchG, then refactor code!!
# Naming

View File

@ -42,7 +42,7 @@ impl From<roxmltree::Error> for Error {
fn main() {
env_logger::init();
let law = LawBuilder::new("UrhG");
let law = LawBuilder::new("MSchG");
println!("{:#?}", law);
//println!("{:#?}", builder.toc());

View File

@ -17,7 +17,7 @@ pub(crate) struct OgdSearchResult {
}
impl OgdSearchResult {
pub(crate) fn has_next_page(&self) -> bool {
fn has_next_page(&self) -> bool {
let hits = &self.ogd_document_results.hits;
let curr_page_number = hits.page_number;
let page_size = hits.page_size;