From d96b0bb6288ae17b7d7f21392180d1ac0c2270de Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 26 Jun 2026 19:28:08 +0200 Subject: exports: sort by :target instead of :authors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sorting by :authors did not make any sense. Let's go for :target as that's pretty visible to the UOC exporter. Signed-off-by: Miquel Sabaté Solà --- app/views/exports/show.uoc.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/exports/show.uoc.erb b/app/views/exports/show.uoc.erb index d99d7f9..ff1043e 100644 --- a/app/views/exports/show.uoc.erb +++ b/app/views/exports/show.uoc.erb @@ -2,6 +2,6 @@ {\setlength{\parskip}{-0.3cm} -<%= UocExporter.new(things: @results.sort_by(&:authors)).export %> +<%= UocExporter.new(things: @results.sort_by(&:target)).export %> } -- cgit v1.2.3