Ignore:
Timestamp:
Jun 26, 2020, 12:51:46 PM (23 months ago)
Author:
Nicklas Nordborg
Message:

Fixes #2216: Improve API for adding and removing items to an item list

Added a test case for the new add and remove methods.

Existing functionality in the web client has been updated to use the new API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/itemlists/index.jsp

    r7813 r7834  
    316316          // else -- no modifications to the query mean that we only get the current page
    317317         
    318           if (!useSyncFilter) list.add(query.iterate(dc));
     318          if (!useSyncFilter) list.add(query);
    319319        }
    320320       
     
    588588    // else -- no modifications to the query mean that we only get the current page
    589589
    590     int count = list.add(query.iterate(dc));
     590    int count = list.add(query);
    591591    dc.commit();
    592592    message = count + " members added to list";
Note: See TracChangeset for help on using the changeset viewer.