Limiting the lists for change information

Hi,.

We are looking to improve the performance on the device form(Configuration Management) by limiting the lists for change information i.e. limiting the Historic Attribute Changes on a device form to a certain period.

Currently the data that is displayed for  "Historic Attribute Changes"  is based on a script written in the Script Libraries--“script name: configurationManagement","function name:getHistoricChanges"If we look at the Script,it can be seen that the current existing query references another table “dataModEvent” to fetch this data.

We are looking at finding a way to achieve this so as to be able to limit the data based ona specific time period.

Any leads on how to achieve this/any other possible way to improve the performance will be really helpful.

Thanks & Regards,

MW