Skip to content

Commit bd69130

Browse files
authored
feat: Add Random Sort Option to MVLEMPYR (#1936)
* Add random sort option to mvlempyr * Version bump
1 parent 0f982c4 commit bd69130

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plugins/english/mvlempyr.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class MVLEMPYRPlugin implements Plugin.PluginBase {
2828
name = 'MVLEMPYR';
2929
icon = 'src/en/mvlempyr/icon.png';
3030
site = 'https://www.mvlempyr.io/';
31-
version = '1.0.11';
31+
version = '1.0.12';
3232

3333
_chapSite = 'https://chap.heliosarchive.online/';
3434
_allNovels: (Plugin.NovelItem & ExtraNovelData)[] | undefined;
@@ -229,6 +229,7 @@ class MVLEMPYRPlugin implements Plugin.PluginBase {
229229
created: new Date(novel['createdOn']).getTime(),
230230
genres: novel.genre,
231231
tags: novel.tags,
232+
random: Math.random(),
232233
};
233234
});
234235
}
@@ -243,6 +244,7 @@ class MVLEMPYRPlugin implements Plugin.PluginBase {
243244
{ label: 'Best Rated', value: 'avgReview' },
244245
{ label: 'Most Reviewed', value: 'reviewCount' },
245246
{ label: 'Chapter Count', value: 'chapterCount' },
247+
{ label: 'Random', value: 'random' },
246248
],
247249
},
248250
// update genres and tags with this script if needed

0 commit comments

Comments
 (0)