# HG changeset patch # User Alain Mazy # Date 1591445380 -7200 # Node ID c66d8b7b1a1344fed55d638e464a4a6cd89e7c4a # Parent 8b2c648c0f460780c5f0b352407fa4e47d8a248d more info about IncomingFindRequestFilter diff -r 8b2c648c0f46 -r c66d8b7b1a13 Sphinx/source/users/lua.rst --- 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 `. 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