mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	feat: preserver querystring when changing category sort
This commit is contained in:
		@@ -17,7 +17,8 @@ define('sort', ['components'], function (components) {
 | 
				
			|||||||
					return app.alertError(err.message);
 | 
										return app.alertError(err.message);
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				config[field] = newSetting;
 | 
									config[field] = newSetting;
 | 
				
			||||||
				ajaxify.go(gotoOnSave);
 | 
									var qs = decodeURIComponent($.param(utils.params()));
 | 
				
			||||||
 | 
									ajaxify.go(gotoOnSave + (qs ? '?' + qs : ''));
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user