Skip to content

Firefly III: a personal finances manager

Swapped search case. [skip ci]

James Colef6ab6d285f4b
diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.php
index 4f2b698098..6016c7d1e4 100644
--- a/app/Support/Search/Search.php
+++ b/app/Support/Search/Search.php
@@ -201,13 +201,13 @@ class Search implements SearchInterface
Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));
$collector->amountIs($amount);
break;
- case 'amount_min':
+ case 'amount_max':
case 'amount_less':
$amount = app('steam')->positive(strval($modifier['value']));
Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));
$collector->amountLess($amount);
break;
- case 'amount_max':
+ case 'amount_min':
case 'amount_more':
$amount = app('steam')->positive(strval($modifier['value']));
Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));