I've overridden the Layer.php file using the plugin, to show product based on Multi-source location.
But now I have the wrong number of elements in the toolbar (I have 4 products displayed but still showing 7 number in the toolbar also the per page items is 4 by default but it's showing only 2).
I've added condition in aroundgetProductCollection function.
$collection->getSelect()->reset(\Magento\Framework\DB\Select::WHERE);
$collection->getSelect()->reset(\Magento\Framework\DB\Select::ORDER);
$collection->addAttributeToFilter('entity_id', ['in' => $productid]);