From 12801ca031c0f8d209ddf2af0be36e09ed8cd727 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 22 May 2011 10:48:59 +0000 Subject: Fixed: GET /time_entries.xml ignores limit/offset parameters (#8356). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5881 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/timelog/index.api.rsb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/timelog') diff --git a/app/views/timelog/index.api.rsb b/app/views/timelog/index.api.rsb index 0367e0666..213dbd362 100644 --- a/app/views/timelog/index.api.rsb +++ b/app/views/timelog/index.api.rsb @@ -1,4 +1,4 @@ -api.array :time_entries do +api.array :time_entries, api_meta(:total_count => @entry_count, :offset => @offset, :limit => @limit) do @entries.each do |time_entry| api.time_entry do api.id time_entry.id -- cgit v1.2.3