Changeset

115:c6b5d2039f25

clix.archive: Show number of items if available
author Kim Alvefur <zash@zash.se>
date Tue, 09 Jul 2013 14:27:41 +0200
parents 114:3ee83c4801b4
children 116:8bb289b2b7be
files clix/archive.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/clix/archive.lua	Tue Jul 09 14:27:02 2013 +0200
+++ b/clix/archive.lua	Tue Jul 09 14:27:41 2013 +0200
@@ -65,6 +65,9 @@
 					conn:info("Next page: --%s=%s", whatnext, nextpage);
 				end
 			end
+			if result.count then
+				conn:info("Total: %d items", result.count);
+			end
 			conn:close();
 		end
 		conn:add_plugin"archive";