Revision: 29646
          http://sourceforge.net/p/bibdesk/svn/29646
Author:   hofman
Date:     2025-09-30 14:14:00 +0000 (Tue, 30 Sep 2025)
Log Message:
-----------
get only identifierURL for removed items

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

Modified: trunk/bibdesk/BDSKNotesSearchIndex.m
===================================================================
--- trunk/bibdesk/BDSKNotesSearchIndex.m        2025-09-29 16:03:17 UTC (rev 
29645)
+++ trunk/bibdesk/BDSKNotesSearchIndex.m        2025-09-30 14:14:00 UTC (rev 
29646)
@@ -137,12 +137,11 @@
 }
 
 - (void)processDelItemNotification:(NSNotification *)note {
-    NSArray *items = [[note userInfo] 
valueForKeyPath:@"publications.searchIndexInfo"];
+    NSArray *itemURLs = [[note userInfo] 
valueForKeyPath:@"publications.identifierURL"];
     
     dispatch_async(queue, ^{
-        for (NSDictionary *item in items) {
+        for (NSURL *identifierURL in itemURLs) {
             if ([self shouldKeepRunning]) break;
-            NSURL *identifierURL = [item 
objectForKey:BDSKBibItemIdentifierURLKey];
             [self indexItemForIdentifierURL:identifierURL fileURLs:nil 
removeEmpty:YES];
         }
     });

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