Hide errors for failed searches
authorAlexander Ebert <ebert@woltlab.com>
Mon, 29 May 2023 12:47:58 +0000 (14:47 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 29 May 2023 12:47:58 +0000 (14:47 +0200)
ts/WoltLabSuite/Core/Ui/Search/Input.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js

index ea16ceb5dfd9177f6b29479c6371b7a6bc182cac..3969a78af41da2a332ac8402211007301aed0700 100644 (file)
@@ -363,6 +363,7 @@ class UiSearchInput {
     return {
       data: this.ajaxPayload,
       silent: this.suppressErrors,
+      ignoreError: this.suppressErrors,
     };
   }
 }
index 5ee13784b60d0c24edac943a8373b3d3fa43881d..4ef6f39f6cd7624f6005a9cbfcc259e1d7a07b0b 100644 (file)
@@ -310,6 +310,7 @@ define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Ut
             return {
                 data: this.ajaxPayload,
                 silent: this.suppressErrors,
+                ignoreError: this.suppressErrors,
             };
         }
     }