Mod Archive Forums

Website => Feedback & Suggestions => Help & Support => Bug Reports => Topic started by: Songerson on November 11, 2021, 11:28:48

Title: Two search engine bugs
Post by: Songerson on November 11, 2021, 11:28:48
I found two and a half bugs related to module searching.

1. When searching modules via Artist Search with "Guessed Artist" option selected, it appears that "Most recently archived" and "Least recently archived" sorting options in the "Change Order" drop-down list work exactly the opposite: "Most recently archived" option shows least recently archived modules first, while "Least recently archived" option shows most recently archived modules first. These two options are swapped.
Example:
https://modarchive.org/index.php?request=search&search_type=guessed_artist&query=Djamm&page=0&order=3
and
https://modarchive.org/index.php?request=search&search_type=guessed_artist&query=Djamm&page=0&order=4

2. When browsing modules by license (https://modarchive.org/index.php?request=view_by_license&query=publicdomain), the "Change License" drop-down list selector works as intended: it actually shows modules licensed under chosen license, the title above 6 browsing options ("Random", "New additions", etc.) displays chosen license correctly, but in two cases the "Change License" selector doesn't display the chosen license correctly:
1) when "Non-commercial" option is selected, it says "Non-commercial No Derivatives";
2) when "Non-commercial Share Alike" option is selected, it says "Non-commercial".
In other cases, the "Change License" selector works fine: when "Non-commercial No Derivatives" option is selected, it says "Non-commercial No Derivatives"; when "Share Alike" option is selected, it says "Share Alike"; etc.

2a. There are, however, several modules that are not licensed under chosen license, but they still appear in search results. Only two examples are illustrated.
Title: Re: Two search engine bugs
Post by: Saga Musix on November 14, 2021, 20:21:37
The bugs in those two dropdowns should be fixed. There were 25 files for which there was an inconsistency in the license data, and since at least one of them was not actually assigned to any artist (and thus couldn't have its license set), I chose to completely remove the license information from them. If the license shown in the filter was correct, the artists will have to re-apply the license.
Title: Re: Two search engine bugs
Post by: Songerson on November 14, 2021, 22:33:07
Thanks for the explanation. One mystery has been struck off my list.