Skip to content

Commit

Permalink
Fixed addon subcategory pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
robotboy655 committed Apr 2, 2021
1 parent 2cf8202 commit 9504141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garrysmod/html/js/menu/WorkshopFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ WorkshopFiles.prototype.Init = function( namespace, scope, RootScope )
// Fills in perpage
self.RefreshDimensions();

if ( scope.Category != type ) scope.TotalResults = 0;
if ( scope.Category != type || scope.Tagged != searchtag ) scope.TotalResults = 0;

scope.Category = type;
scope.Tagged = searchtag;
Expand Down

0 comments on commit 9504141

Please sign in to comment.