Revision: 29234
          http://sourceforge.net/p/bibdesk/svn/29234
Author:   hofman
Date:     2025-04-28 19:14:40 +0000 (Mon, 28 Apr 2025)
Log Message:
-----------
Add type as query key

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

Modified: trunk/bibdesk/BDSKSearchGroup.m
===================================================================
--- trunk/bibdesk/BDSKSearchGroup.m     2025-04-28 19:13:27 UTC (rev 29233)
+++ trunk/bibdesk/BDSKSearchGroup.m     2025-04-28 19:14:40 UTC (rev 29234)
@@ -75,11 +75,11 @@
 
 + (void)initialize {
     BDSKINITIALIZE;
-    BDSKSearchGroupURLQueryKeys = [[NSMapTable alloc] 
initWithKeyPointerFunctions:[NSPointerFunctions 
caseInsensitiveStringPointerFunctions] 
valuePointerFunctions:[NSPointerFunctions strongObjectPointerFunctions] 
capacity:15];
-    NSString *keys[15] = {@"searchTerm", @"term", @"name", @"database", @"db", 
@"password", @"username", @"user", @"recordSyntax", @"syntax", 
@"resultEncoding", @"encoding", @"removeDiacritics", @"lite", @"version"};
-    NSString *objects[15] = {@"searchTerm", @"searchTerm", @"name", 
@"database", @"database", @"password", @"username", @"username", 
@"recordSyntax", @"recordSyntax", @"resultEncoding", @"resultEncoding", 
@"removeDiacritics", @"lite", @"version"};
+    BDSKSearchGroupURLQueryKeys = [[NSMapTable alloc] 
initWithKeyPointerFunctions:[NSPointerFunctions 
caseInsensitiveStringPointerFunctions] 
valuePointerFunctions:[NSPointerFunctions strongObjectPointerFunctions] 
capacity:16];
+    NSString *keys[16] = {@"searchTerm", @"term", @"name", @"database", @"db", 
@"password", @"username", @"user", @"recordSyntax", @"syntax", 
@"resultEncoding", @"encoding", @"removeDiacritics", @"lite", @"type", 
@"version"};
+    NSString *objects[16] = {@"searchTerm", @"searchTerm", @"name", 
@"database", @"database", @"password", @"username", @"username", 
@"recordSyntax", @"recordSyntax", @"resultEncoding", @"resultEncoding", 
@"removeDiacritics", @"lite", @"type", @"version"};
     NSUInteger i;
-    for (i = 0; i < 15; i++)
+    for (i = 0; i < 16; i++)
         [BDSKSearchGroupURLQueryKeys setObject:objects[i] forKey:keys[i]];
 }
 

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to