[saem-devel] [PATCH 2 of 2 seda] [views] Propose to add concept keyword before simple keyword

Sylvain Thenault sylvain.thenault at logilab.fr
Wed Feb 22 15:53:39 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1487775137 -3600
#      Wed Feb 22 15:52:17 2017 +0100
# Node ID 866f885b1e84aa7e33808bd1a2302610a5a449a2
# Parent  fcdd16e5cad2d9f0409a7dfbe7c34581c6c491b8
[views] Propose to add concept keyword before simple keyword

As specified by extranet #14592456

diff --git a/views/archiveunit.py b/views/archiveunit.py
--- a/views/archiveunit.py
+++ b/views/archiveunit.py
@@ -547,12 +547,12 @@ class ContentIndexationView(ContentSubOb
     rtype_role_targets = [
         ('seda_keyword', 'object', 'SEDAKeyword'),
         ('seda_tag', 'object', 'SEDATag'),
     ]
     keyword_custom_arguments = [
+        ('keyword_type', 'concept_keyword', _('keyword concept')),
         ('keyword_type', 'simple_keyword', _('keyword simple')),
-        ('keyword_type', 'concept_keyword', _('keyword concept')),
     ]
 
     _('creating SEDAKeyword (SEDAKeyword seda_keyword '
       'SEDASeqAltArchiveUnitArchiveUnitRefIdManagement %(linkto)s)')
     _('creating SEDATag (SEDATag seda_tag '


More information about the saem-devel mailing list