From: Art Rhyno Date: Tue, 15 Apr 2014 00:23:53 +0000 (-0400) Subject: Fix up Headings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=96d3d3892b8b6c6c1ba6ed3204c7349caf75f549;p=Syrup.git Fix up Headings Headings are part of the item object and need some special handling with the recent changes for multipart. This puts them back in sync. Signed-off-by: Art Rhyno --- diff --git a/conifer/syrup/models.py b/conifer/syrup/models.py index db818b2..0138c07 100644 --- a/conifer/syrup/models.py +++ b/conifer/syrup/models.py @@ -417,6 +417,8 @@ class Site(BaseModel): dup_ids = [] push_thru = True + if item.item_type == 'HEADING': + return push_thru, dup_barcodes, dup_ids if not BIB_PART_MERGE or edit_status: return push_thru, dup_barcodes, dup_ids if not is_dup_candidate(item): diff --git a/conifer/templates/components/site.xhtml b/conifer/templates/components/site.xhtml index 14ca98e..75f72ac 100644 --- a/conifer/templates/components/site.xhtml +++ b/conifer/templates/components/site.xhtml @@ -103,6 +103,9 @@ searchtext = _('search this site...')
+
[${vt}] ${item.author}. @@ -147,7 +155,7 @@ searchtext = _('search this site...') ${item.volume}(${item.issue}), ${item.pages}.
-
+
Revert Parms: