feat: Add Random Sort Option to MVLEMPYR (#1936)
* Add random sort option to mvlempyr * Version bump
This commit is contained in:
@@ -28,7 +28,7 @@ class MVLEMPYRPlugin implements Plugin.PluginBase {
|
||||
name = 'MVLEMPYR';
|
||||
icon = 'src/en/mvlempyr/icon.png';
|
||||
site = 'https://www.mvlempyr.io/';
|
||||
version = '1.0.11';
|
||||
version = '1.0.12';
|
||||
|
||||
_chapSite = 'https://chap.heliosarchive.online/';
|
||||
_allNovels: (Plugin.NovelItem & ExtraNovelData)[] | undefined;
|
||||
@@ -229,6 +229,7 @@ class MVLEMPYRPlugin implements Plugin.PluginBase {
|
||||
created: new Date(novel['createdOn']).getTime(),
|
||||
genres: novel.genre,
|
||||
tags: novel.tags,
|
||||
random: Math.random(),
|
||||
};
|
||||
});
|
||||
}
|
||||
@@ -243,6 +244,7 @@ class MVLEMPYRPlugin implements Plugin.PluginBase {
|
||||
{ label: 'Best Rated', value: 'avgReview' },
|
||||
{ label: 'Most Reviewed', value: 'reviewCount' },
|
||||
{ label: 'Chapter Count', value: 'chapterCount' },
|
||||
{ label: 'Random', value: 'random' },
|
||||
],
|
||||
},
|
||||
// update genres and tags with this script if needed
|
||||
|
||||
Reference in New Issue
Block a user