comparison doc/customizing.txt @ 6179:a701c9c81597

Fix rev_multilink properties search/retrieval The code now only returns live (non-retired) items. Since for reverse multilinks the Link/Multilink property in the retired item cannot be changed, we now only return non-retired items in search (filter) and retrieve (get).
author Ralf Schlatterbeck <rsc@runtux.com>
date Tue, 19 May 2020 09:25:48 +0200
parents 5522c950a2e4
children ddc6739579ca
comparison
equal deleted inserted replaced
6178:227c05ce2d85 6179:a701c9c81597
862 862
863 The effect of setting ``part_of = 3456`` on issue1234 863 The effect of setting ``part_of = 3456`` on issue1234
864 automatically adds "1234" to the ``components`` property on 864 automatically adds "1234" to the ``components`` property on
865 issue3456. You can search the ``components`` multilink just like a 865 issue3456. You can search the ``components`` multilink just like a
866 regular multilink, but you can't explicitly assign to it. 866 regular multilink, but you can't explicitly assign to it.
867 Another difference of reverse multilinks to normal multilinks
868 is that when a linked node is retired, the node vanishes from the
869 multilink, e.g. in the example above, if an issue with ``part_of``
870 set to another issue is retired this issue vanishes from the
871 ``components`` multilink of the other issue.
867 872
868 You can also link between different classes. So you can modify 873 You can also link between different classes. So you can modify
869 the issue definition to include:: 874 the issue definition to include::
870 875
871 issue = IssueClass(db, "issue", 876 issue = IssueClass(db, "issue",

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