summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-05-22 10:48:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-05-22 10:48:59 +0000
commit12801ca031c0f8d209ddf2af0be36e09ed8cd727 (patch)
treee61f2766e33ba4a62fc0307a9c105ccb5e567f1e /app/views/timelog
parentef00501c36992221a1afa5f5bd4706ed91fbb7f1 (diff)
downloadredmine-12801ca031c0f8d209ddf2af0be36e09ed8cd727.tar.gz
redmine-12801ca031c0f8d209ddf2af0be36e09ed8cd727.zip
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
Diffstat (limited to 'app/views/timelog')
-rw-r--r--app/views/timelog/index.api.rsb2
1 files changed, 1 insertions, 1 deletions
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