mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
When we search by the id of any record and not a string, it gives an error on the line: ? source.value.trim(). It is because the value of sorce.value is an integer. To fix it, we do the trim() operation just if source.value is an string.