diff roundup/rest.py @ 5662:5ceed592706e

Display content property starting with verbose=3 .. not verbose=2 as it was previously to distinguish the cases of label display (of Link/Multilink fields) from the content display.
author Ralf Schlatterbeck <rsc@runtux.com>
date Fri, 22 Mar 2019 14:12:57 +0100
parents b08a308c273b
children a4bb88a1a643
line wrap: on
line diff
--- a/roundup/rest.py	Fri Mar 22 14:03:37 2019 +0100
+++ b/roundup/rest.py	Fri Mar 22 14:12:57 2019 +0100
@@ -651,7 +651,7 @@
                     # Do not show the (possibly HUGE) content prop
                     # unless very verbose, we display the standard
                     # download link instead
-                    if verbose < 2:
+                    if verbose < 3:
                         u = self.db.config.TRACKER_WEB
                         p = u + '%s%s/' % (class_name, node.id)
                         result[pn] = dict(link = p)

Roundup Issue Tracker: http://roundup-tracker.org/