Revision: 22572
          http://sourceforge.net/p/bibdesk/svn/22572
Author:   hofman
Date:     2018-09-09 20:53:32 +0000 (Sun, 09 Sep 2018)
Log Message:
-----------
Add pdf url at index 0

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

Modified: trunk/bibdesk/BDSKArxivParser.m
===================================================================
--- trunk/bibdesk/BDSKArxivParser.m     2018-09-09 14:48:46 UTC (rev 22571)
+++ trunk/bibdesk/BDSKArxivParser.m     2018-09-09 20:53:32 UTC (rev 22572)
@@ -208,7 +208,7 @@
                 if (addUrlField)
                     [pubFields setValue:string forKey:BDSKUrlString];
                 if (addLinkedFiles)
-                    [pubFiles addObject:[BDSKLinkedFile 
linkedFileWithURLString:string]];
+                    [pubFiles insertObject:[BDSKLinkedFile 
linkedFileWithURLString:string] atIndex:0];
             }
         } else if ((string = [pubFields objectForKey:@"Eprint"])) {
             string = [NSString stringWithFormat:@"https://%@/pdf/%@.pdf";, [url 
host], string];
@@ -215,7 +215,7 @@
             if (addUrlField)
                 [pubFields setValue:string forKey:BDSKUrlString];
             if (addLinkedFiles)
-                [pubFiles addObject:[BDSKLinkedFile 
linkedFileWithURLString:string]];
+                [pubFiles insertObject:[BDSKLinkedFile 
linkedFileWithURLString:string] atIndex:0];
         }
         
         // search for DOI

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