diff --git a/app/controllers/demo_controller.rb b/app/controllers/demo_controller.rb index 89f1da027..5933c5735 100644 --- a/app/controllers/demo_controller.rb +++ b/app/controllers/demo_controller.rb @@ -6,7 +6,7 @@ class DemoController < ApplicationController return redirect_to root_path if Rails.env.production? smart_listing_create :procedures, - Procedure.where(archived: false, published: true), + Procedure.where(archived: false, published: true).order("id DESC"), partial: "demo/list", array: true end diff --git a/doc/apipie_examples.json b/doc/apipie_examples.json index 968788243..e14456d96 100644 --- a/doc/apipie_examples.json +++ b/doc/apipie_examples.json @@ -86,6 +86,18 @@ } } ], + "champs_private": [ + { + "value": null, + "type_de_champ": { + "id": 1, + "libelle": "Description privée", + "type_champ": "text", + "order_place": 0, + "description": "description privée" + } + } + ], "pieces_justificatives": [ { "url": null,