DocCode: Fix bug in productsDto query in server repo
plus a few cosmetics