Project

General

Profile

Actions

Defect #14990

open

Time entries sort by updated_on

Added by Juozapis Juozapauskiksi about 11 years ago. Updated about 6 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Does this sort work for you?:
time_entries.xml?limit=25&offset=0&project_id=ztestredmi&sort=updated_on:desc


Files

14990_05_01.png (51.1 KB) 14990_05_01.png Juozapis Juozapauskiksi, 2018-09-10 10:03
Actions #1

Updated by Juozapis Juozapauskiksi about 11 years ago

I tried some Redmine modification for first time in my life seeing Ruby. When I added to end of self.available_columns = [...

QueryColumn.new(:updated_on, :sortable => "#{TimeEntry.table_name}.updated_on", :default_order => 'desc'),

located in app\models\time_entry_query.rb it is now working in REST API
Actions #2

Updated by Juozapis Juozapauskiksi about 11 years ago

Bump
Are you going to fix this in upcoming releases?

Actions #3

Updated by Juozapis Juozapauskiksi almost 11 years ago

Please make me Christmas present and add it to upcoming release

Actions #4

Updated by Juozapis Juozapauskiksi almost 11 years ago

Bump
Are you going to fix this in upcoming releases?

Actions #5

Updated by Juozapis Juozapauskiksi about 6 years ago

Bump this still does not work in the newest redmine (3.4.6.stable)
Query redmineurl?time_entries.xml?&sort=updated_on
Result:

Actions

Also available in: Atom PDF