we are using this extension : https://github.com/r-martins/Magento-OutOfStockLast
for following purpose.
if we click on any category link, initially we are displaying in-stock-products and than we are displaying out-of-stock products as below.
ex : http://sitename.com/testing.html
like same way, when we search in search bar, we want to display In-stock-products first and than out-of-stock products
we are using this extension for this: https://mirasvit.com/magento-extensions/sphinx-search-ultimate.html
its working fine.
once we use both extension, than we are getting this error when we search something :
http://sitename.com/catalogsearch/result/\?q=funskool
You cannot define a correlation name '_inventory_table' more than once [![enter image description here][1]][1]