Mercurial > p > roundup > code
diff CHANGES.txt @ 6148:8497bf3f23a1
Allow to define reverse Multilinks
Now it's possible to specify a rev_multilink parameter when creating
Link or Multilink properties. The parameter takes a property name to be
inserted into the linked-to class. It allows to navigate from the other
side of the link as if it where a forward Multilink using the existing
data structures.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Wed, 29 Apr 2020 16:30:27 +0200 |
| parents | f35ca71c9f2e |
| children | 6a2de9606652 |
line wrap: on
line diff
--- a/CHANGES.txt Sun Apr 12 21:03:55 2020 +0100 +++ b/CHANGES.txt Wed Apr 29 16:30:27 2020 +0200 @@ -74,6 +74,13 @@ with new RoundupException (inheriting from Exception) for most roundup exceptions. (John Rouillard and Ralf Schlatterbeck on request from Robert Klonner.) +- When defining Link or Multilink properties in the schema, it's now + possible to add a parameter rev_multilink that accepts a property name + to be inserted into the linked-to class. So this creates a reverse + Multilink property in the linked-to class. This Multilink is read-only + (cannot be updated) but can be used in filter -- and thus in normal + index templates as well as in the REST and XMLRPC APIs. (Ralf + Schlatterbeck) Fixed:
