Passing request page "Limit Total Filter" to a variable

Hi,
I was wondering does anyone know if it is possible to get the value of “limit total to” type filters on a request page into a variable?

pastedimage1566463351216v2.png

I am using the item table as basis for filtering to create a usage report and if someone sets up a “limit total to: location filter” - I want to capture that value so I can subsequently use it to filter item ledger entries, etc.
But when I try and capture “Location Filter” value in code it just returns a blank value instead of say “DEMO” as in the example above. Passing any other filters from the item record such as “blocked” or item number ranges, etc all works fine.

Any help much appreciated.

Regards,
Richard

Solved it myself. Turns out you need to use GETFILTER(“Location Filter”) to return the value.