Mercurial > hg > orthanc
view OrthancServer/Resources/Samples/Lua/IncomingFindRequestFilter.lua @ 5585:5df6d2a8d9f2 default
fix compatibility of Logging.h with WebAssembly
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 03 May 2024 13:58:28 +0200 |
parents | d25f4c0fa160 |
children |
line wrap: on
line source
-- This example solves the following problem: -- https://groups.google.com/d/msg/orthanc-users/PLWKqVVaXLs/n_0x4vKhAgAJ function IncomingFindRequestFilter(source, origin) -- First display the content of the C-Find query PrintRecursive(source) PrintRecursive(origin) -- Remove the "PrivateCreator" tag from the query local v = source v['5555,0010'] = nil return v end