diff options
Diffstat (limited to 'src/sisudoc/ocda/abstraction/db_in.d')
| -rw-r--r-- | src/sisudoc/ocda/abstraction/db_in.d | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sisudoc/ocda/abstraction/db_in.d b/src/sisudoc/ocda/abstraction/db_in.d index 7f1b2c3..53ac95d 100644 --- a/src/sisudoc/ocda/abstraction/db_in.d +++ b/src/sisudoc/ocda/abstraction/db_in.d @@ -204,7 +204,10 @@ template spineAbstractionDbRead() { string _kk = _k["doc_has.".length .. $]; doc.doc_has[_kk] = _v; doc.doc_has_order ~= _kk; - } else if (_k.startsWith("schema.")) { + } else if (_k.startsWith("schema.") || _k.startsWith("build.")) { + /+ ↓ what the file is and what wrote it. Neither is part of the + document, and only the format version is wanted here. + +/ if (_k == "schema.version") { doc.format = "% SiSU Document Abstraction v" ~ _v; } |
