mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Add: user settings for mobile sort & filter
This commit is contained in:
		
							parent
							
								
									b9dee8704f
								
							
						
					
					
						commit
						18c1d8f1a3
					
				@ -35,7 +35,7 @@ module.exports = {
 | 
			
		||||
    ],
 | 
			
		||||
    link: [
 | 
			
		||||
      { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
 | 
			
		||||
      { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Fira+Mono&family=Ubuntu+Mono&family=Gentium+Book+Basic&&family=Source+Sans+Pro:wght@300;400;600' },
 | 
			
		||||
      { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Ubuntu+Mono&family=Gentium+Book+Basic&&family=Source+Sans+Pro:wght@300;400;600' },
 | 
			
		||||
      { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' }
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
@ -43,6 +43,9 @@ class User {
 | 
			
		||||
 | 
			
		||||
  getDefaultUserSettings() {
 | 
			
		||||
    return {
 | 
			
		||||
      mobileOrderBy: 'recent',
 | 
			
		||||
      mobileOrderDesc: true,
 | 
			
		||||
      mobileFilterBy: 'all',
 | 
			
		||||
      orderBy: 'book.title',
 | 
			
		||||
      orderDesc: false,
 | 
			
		||||
      filterBy: 'all',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user