mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
This commit is contained in:
@@ -205,7 +205,7 @@ class AutoCompleteController extends Controller
|
||||
{
|
||||
$search = (string)$request->get('search');
|
||||
$cache = new CacheProperties;
|
||||
$cache->addProperty('ac-revenue-accounts');
|
||||
$cache->addProperty('ac-journals');
|
||||
// very unlikely a user will actually search for this string.
|
||||
$key = '' === $search ? 'skjf0893j89fj2398hd89dh289h2398hr7isd8900828u209ujnxs88929282u' : $search;
|
||||
$cache->addProperty($key);
|
||||
|
@@ -23,6 +23,7 @@ declare(strict_types=1);
|
||||
namespace FireflyIII\Http\Controllers\Transaction;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Events\UpdatedTransactionJournal;
|
||||
use FireflyIII\Helpers\Collector\TransactionCollectorInterface;
|
||||
use FireflyIII\Helpers\Filter\InternalTransferFilter;
|
||||
use FireflyIII\Helpers\Filter\TransactionViewFilter;
|
||||
@@ -241,6 +242,9 @@ class MassController extends Controller
|
||||
// call repository update function.
|
||||
$repository->update($journal, $data);
|
||||
|
||||
// trigger rules
|
||||
event(new UpdatedTransactionJournal($journal));
|
||||
|
||||
++$count;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user