Revision: 27436
          http://sourceforge.net/p/bibdesk/svn/27436
Author:   hofman
Date:     2022-05-19 09:19:34 +0000 (Thu, 19 May 2022)
Log Message:
-----------
Never inherit citation fields. It makesno sense, and they are not displayed 
using a complex string formatter

Modified Paths:
--------------
    trunk/bibdesk/BibItem.m

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2022-05-19 09:05:48 UTC (rev 27435)
+++ trunk/bibdesk/BibItem.m     2022-05-19 09:19:34 UTC (rev 27436)
@@ -1208,7 +1208,7 @@
     NSString *value = [pubFields objectForKey:key];
     BOOL isEmpty = [NSString isEmptyAsComplexString:value];
        
-       if (inherit && isEmpty && [fieldsToWriteIfEmpty containsObject:key] == 
NO) {
+       if (inherit && isEmpty && [fieldsToWriteIfEmpty containsObject:key] == 
NO && [key isCitationField] == NO) {
                BibItem *parent = [self crossrefParent];
                value = nil;
         if (parent) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to