Sort mangas by random

Dex-chan lover
Joined
Oct 9, 2019
Messages
2,022
So basically random sorting method, in advanced search :unsure:
You want to take a list and order it by random? Why though? I think searching by tag basically does some random form of sorting though provided you don't search by title.
 
୧⍢⃝୨
Staff
Super Moderator
Joined
Jan 7, 2023
Messages
219
I think searching by tag basically does some random form of sorting
That's not true, you also have filters for those
image.png
 
୧⍢⃝୨
Staff
Super Moderator
Joined
Jan 7, 2023
Messages
219
Latest Upload is a bit like random, no ?
Actually depends on how you see it, since it takes the latestUploadedChapter value from the /manga endpoint and sorts it in descending.
So, the default request looks something like this:

Might be worth mentioning that I only have a rough idea of this works, so I'll refrain from trying to explain how this exactly works and leave it to the devs, if they want to explain it.
 
Dex-chan lover
Joined
Oct 9, 2019
Messages
2,022
Actually depends on how you see it, since it takes the latestUploadedChapter value from the /manga endpoint and sorts it in descending.
So, the default request looks something like this:


Might be worth mentioning that I only have a rough idea of this works, so I'll refrain from trying to explain how this exactly works and leave it to the devs, if they want to explain it.
It's not too hard to get though? The first 32 manga that were uploaded to most recently are returned? The reason it's "sort of random" is that the manga that people upload to are random. And people are always uploading so that result can change quickly.
 
୧⍢⃝୨
Staff
Super Moderator
Joined
Jan 7, 2023
Messages
219
I'm talking about tag search through the Advanced Search menu and selecting "Best Match".
Fair, afaik that one works using Elasticsearch's score system, so dunno.
It's not too hard to get though? The first 32 manga that were uploaded to most recently are returned? The reason it's "sort of random" is that the manga that people upload to are random. And people are always uploading so that result can change quickly.
Fair point, however I wouldn't call it "sort of random" since it depends entirely on people uploading constantly to titles with that tag, which is not really the point in this case. Sorting by "Best Match" would be closest to being random than sorting by Latest Upload IMO.
 

Users who are viewing this thread

Top