aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/meta/metadoc_summary.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/meta/metadoc_summary.d')
-rw-r--r--src/sdp/meta/metadoc_summary.d9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sdp/meta/metadoc_summary.d b/src/sdp/meta/metadoc_summary.d
index 591844f..a415387 100644
--- a/src/sdp/meta/metadoc_summary.d
+++ b/src/sdp/meta/metadoc_summary.d
@@ -33,10 +33,13 @@ template SiSUabstractionSummary() {
if (k == "body") {
check["last_obj_cite_number_body"] = obj.obj_cite_number;
}
- if ((k != "bookindex_seg") && (k != "blurb")) {
+ if (!(obj.obj_cite_number.empty)) {
check["last_obj_cite_number"] = obj.obj_cite_number;
- } else if (k == "bookindex_seg") {
- check["last_obj_cite_number_bkidx"] = obj.obj_cite_number;
+ }
+ }
+ if (k == "bookindex_seg") {
+ if (obj.obj_cite_number_type == 2) {
+ check["last_obj_cite_number_bkidx"] = obj.obj_cite_number_bkidx;
}
}
}