api icon indicating copy to clipboard operation
api copied to clipboard

Handle Comma Cases in fetch hadith with hadith number route

Open AyahBot-Dev opened this issue 3 years ago • 0 comments

In Sunnah.com Database, some consequetive same ayahs Hadith numbers has been in one string like 6924, 6925 and so on.

But The API doesn't implement this. And as a result, we are not able to get all hadiths. like if you request with bukhari 6924 or 6925 seperately, you won't get anything, but if you request with "6924, 6925" (url-encoded) you will get that entry! Sunnah.com website handles this via LIKE sql. We should implement this also.

AyahBot-Dev avatar Aug 28 '22 16:08 AyahBot-Dev