Revision: 29076
http://sourceforge.net/p/bibdesk/svn/29076
Author: hofman
Date: 2025-02-27 16:32:06 +0000 (Thu, 27 Feb 2025)
Log Message:
-----------
Always compare displayName of author field group to find it by name
Modified Paths:
--------------
trunk/bibdesk/BibDocument+Scripting.m
Modified: trunk/bibdesk/BibDocument+Scripting.m
===================================================================
--- trunk/bibdesk/BibDocument+Scripting.m 2025-02-27 16:20:26 UTC (rev
29075)
+++ trunk/bibdesk/BibDocument+Scripting.m 2025-02-27 16:32:06 UTC (rev
29076)
@@ -478,10 +478,9 @@
if ([[parent key] isPersonField]) {
if (fuzzyName == nil)
fuzzyName = [NSString isEmptyString:name] ? [BibAuthor
emptyAuthor] : [BibAuthor authorWithName:name];
- for (BDSKCategoryGroup *group in [parent categoryGroups]) {
- if ([[group name] fuzzyEqual:fuzzyName])
+ for (BDSKCategoryGroup *group in [parent categoryGroups])
+ if ([[group name] fuzzyEqual:fuzzyName] || [[group
displayName] isCaseInsensitiveEqual:name])
return group;
- }
} else {
for (BDSKCategoryGroup *group in [parent categoryGroups])
if ([[group name] isCaseInsensitiveEqual:name])
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