zoom: sync up with Pazpar2 WRT authentication handling MP-492
[metaproxy-moved-to-github.git] / src / filter_session_shared.cpp
index 335524c..fb81b98 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Metaproxy.
-   Copyright (C) 2005-2013 Index Data
+   Copyright (C) Index Data
 
 Metaproxy is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -482,8 +482,6 @@ void yf::SessionShared::Rep::stat()
                 no_instances++;
         }
     }
-    yaz_log(YLOG_LOG, "backend classes=%d instances=%d", no_classes,
-        no_instances);
 }
 
 void yf::SessionShared::Rep::init(mp::Package &package, const Z_GDU *gdu,
@@ -1130,8 +1128,7 @@ void yf::SessionShared::Frontend::present(mp::Package &package,
             found_set->m_record_cache.add(
                 odr,
                 b_resp->records->u.databaseOrSurDiagnostics,
-                *req->resultSetStartPoint,
-                *f_resp->numberOfRecordsReturned);
+                *req->resultSetStartPoint, p_req->recordComposition);
         }
         bc->release_backend(found_backend);
     }