    Replaced hardcoded SQL limit with config parameter
    Replaced hardcoded SQL limit with config parameter

    The SQL limit value is hardcoded to 50000 although there is a corresponding config parameter.

muehlbauer/otrs,mburggraf/otrs,brandonshults01/otrs,eliasp/otrs,mburggraf/otrs,s7design/otrs,mburggraf/otrs,nilei/otrs,xhoy/otrs,moritz/otrs,MBRG/otrs,linearregression/otrs,rudy500/otrs,thorsteneckel/otrs,rudy500/otrs,mburggraf/otrs,nilei/otrs,crythias/otrs,s7design/otrs,rudy500/otrs,xhoy/otrs,s7design/otrs,muehlbauer/otrs,thorsteneckel/otrs,linearregression/otrs,crythias/otrs,moritz/otrs,thorsteneckel/otrs,rudy500/otrs,linearregression/otrs,nilei/otrs,eliasp/otrs,xhoy/otrs,moritz/otrs,s7design/otrs,brandonshults01/otrs,muehlbauer/otrs,xhoy/otrs,linearregression/otrs,brandonshults01/otrs,moritz/otrs,thorsteneckel/otrs,crythias/otrs,MBRG/otrs,eliasp/otrs,brandonshults01/otrs,eliasp/otrs,muehlbauer/otrs,eliasp/otrs,nilei/otrs,s7design/otrs,crythias/otrs,moritz/otrs,brandonshults01/otrs,thorsteneckel/otrs,crythias/otrs,MBRG/otrs,muehlbauer/otrs,linearregression/otrs,MBRG/otrs,xhoy/otrs,rudy500/otrs,mburggraf/otrs,nilei/otrs,MBRG/otrs