Mercurial > hg > orthanc-book
changeset 443:c66d8b7b1a13
more info about IncomingFindRequestFilter
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Sat, 06 Jun 2020 14:09:40 +0200 |
parents | 8b2c648c0f46 |
children | 06521ac2c14a |
files | Sphinx/source/users/lua.rst |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Sphinx/source/users/lua.rst Thu May 28 20:59:55 2020 +0200 +++ b/Sphinx/source/users/lua.rst Sat Jun 06 14:09:40 2020 +0200 @@ -523,7 +523,10 @@ The ``origin`` argument contains information about which modality has issued the request. -Note that the ``IncomingFindRequestFilter`` callback is not applied to +Note that this callback allows you to modify the incoming request +but will not modify the list of tags that Orthanc will return. + +Also note that the ``IncomingFindRequestFilter`` callback is not applied to C-Find requests targeting :ref:`modality worklists <worklists-plugin>`. Since Orthanc 1.4.2, the corresponding ``IncomingWorklistRequestFilter`` callback can be used to sanitize @@ -540,6 +543,7 @@ return query end + Similarly, the callback ``OutgoingFindRequestFilter(query, modality)`` is invoked whenever Orthanc acts as a C-Find SCU, which gives the opportunity to dynamically fix outgoing C-Find requests before they