Put the onions in a non-stick pan over medium heat and leave, stirring often, until they soften for 10 minutes.
Add the olive oil, the chopped garlic and continue polishing the onions, add the rest of the ingredients and mix until the flavors are homogenous.
Remove the pan from the heat and add the giants and capers, stirring gently.
Serve in a slightly deep dish.