Defect #14990

Time entries sort by updated_on

Added by Juozapis Juozapauskiksi about 8 years ago. Updated about 3 years ago.

Status:NewStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution: Affected version:

Description

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

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

History

#1 Updated by Juozapis Juozapauskiksi about 8 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

#2 Updated by Juozapis Juozapauskiksi about 8 years ago

Bump
Are you going to fix this in upcoming releases?

#3 Updated by Juozapis Juozapauskiksi almost 8 years ago

Please make me Christmas present and add it to upcoming release

#4 Updated by Juozapis Juozapauskiksi almost 8 years ago

Bump
Are you going to fix this in upcoming releases?

#5 Updated by Juozapis Juozapauskiksi about 3 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:

Also available in: Atom PDF