Removed extraneous param to open-ils.search.biblio.record.copy_count
authorkenstir <kenstir@gmail.com>
Fri, 4 Dec 2015 23:33:17 +0000 (18:33 -0500)
committerkenstir <kenstir@gmail.com>
Fri, 4 Dec 2015 23:33:17 +0000 (18:33 -0500)
Open-ILS/src/Android/core/src/org/evergreen_ils/searchCatalog/SearchCatalog.java

index a05296f..49f8975 100644 (file)
@@ -71,7 +71,7 @@ public class SearchCatalog {
     /**
      * Get copy count information
      * 
-     * @param : org_unit_id, record_id, "" ?
+     * @param : org_unit_id, record_id
      * @returns: objects
      *           [{"transcendant":null,"count":35,"org_unit":1,"depth":0,
      *           "unshadow":35,"available":35},
@@ -281,14 +281,13 @@ public class SearchCatalog {
 
         Log.d(TAG, "selectOrganisation id=" + org.id);
         this.selectedOrganization = org;
-
     }
 
     public ArrayList<CopyCountInformation> getCopyCount(Integer recordID,
             Integer orgID) {
 
         List<?> list = (List<?>) Utils.doRequestSimple(conn(), SERVICE,
-                METHOD_GET_COPY_COUNT, new Object[] { orgID, recordID, "" });
+                METHOD_GET_COPY_COUNT, new Object[] { orgID, recordID });
 
         ArrayList<CopyCountInformation> copyInfoList = new ArrayList<CopyCountInformation>();
 
@@ -296,13 +295,10 @@ public class SearchCatalog {
             return copyInfoList;
 
         for (int i = 0; i < list.size(); i++) {
-
-            CopyCountInformation copyInfo = new CopyCountInformation(
-                    list.get(i));
+            CopyCountInformation copyInfo = new CopyCountInformation(list.get(i));
             copyInfoList.add(copyInfo);
         }
 
         return copyInfoList;
     }
-
 }