diff OrthancServer/OrthancRestApi.cpp @ 204:7f4acf490179

changes api
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Nov 2012 11:27:57 +0100
parents dfa2899d9960
children 7f74209ea0f8
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi.cpp	Tue Nov 27 17:50:24 2012 +0100
+++ b/OrthancServer/OrthancRestApi.cpp	Wed Nov 28 11:27:57 2012 +0100
@@ -717,8 +717,8 @@
       if (method == "GET")
       {
         const static unsigned int MAX_RESULTS = 100;
-
-        std::string filter = GetArgument(arguments, "filter", "");
+        
+        //std::string filter = GetArgument(arguments, "filter", "");
         int64_t since;
         unsigned int limit;
         try
@@ -737,7 +737,7 @@
           limit = MAX_RESULTS;
         }
 
-        if (!index_.GetChanges(result, since, filter, limit))
+        if (!index_.GetChanges(result, since, limit))
         {
           output.SendHeader(Orthanc_HttpStatus_400_BadRequest);
           return;