Browse Source

detailed object listing

prieto 7 years ago
parent
commit
b79a82e9f0

+ 1
- 0
plugins/mongodb_datasource/datasource.py View File

@@ -806,6 +806,7 @@ by an equality filter")
806 806
         mongoval = value
807 807
         #Converting lodel2 wildcarded string into a case insensitive
808 808
         #mongodb re
809
+        logger.info((op,value))
809 810
         if mongop in cls.mongo_op_re:
810 811
             if value.startswith('(') and value.endswith(')') and ',' in value:
811 812
                 mongoval = [ item for item in mongoval[1:-1].split(',') ]

+ 1
- 1
plugins/webui/templates/listing/show_object_detailled.html View File

@@ -27,7 +27,7 @@
27 27
                     <li>{{ fieldname }}
28 28
                     {% set l_classe = fieldvalue.allowed_classes[0] %}
29 29
                         <ul>
30
-                    {% set linked_objs=l_classe.get(("%s in %s") % (l_classe.uid_fieldname()[0], obj.data(fieldname)|join(','))) %}
30
+                    {% set linked_objs=l_classe.get(("%s in (%s)") % (l_classe.uid_fieldname()[0], obj.data(fieldname)|join(','))) %}
31 31
                     {% for linked_obj in linked_objs %}
32 32
                             <li>{{ edit.display(linked_obj) }}</li>
33 33
                     {% endfor %}

Loading…
Cancel
Save