mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
- Fix listview filter changes confusingly when searching
- Fix listview does not update for new events
This commit is contained in:
parent
5b8f161d1d
commit
dc3dd6819d
@ -273,6 +273,7 @@ class calendar_uilist extends calendar_ui
|
|||||||
if ($old_params['search'] != $params['search'])
|
if ($old_params['search'] != $params['search'])
|
||||||
{
|
{
|
||||||
$this->adjust_for_search($params['search'],$params);
|
$this->adjust_for_search($params['search'],$params);
|
||||||
|
$this->filter = $params['filter'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$params['csv_export']) Api\Cache::setSession('calendar', 'calendar_list', $params);
|
if (!$params['csv_export']) Api\Cache::setSession('calendar', 'calendar_list', $params);
|
||||||
|
@ -278,6 +278,10 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
|||||||
observer: function(_msg, _app, _id, _type, _msg_type, _links)
|
observer: function(_msg, _app, _id, _type, _msg_type, _links)
|
||||||
{
|
{
|
||||||
var do_refresh = false;
|
var do_refresh = false;
|
||||||
|
if(this.state.view === 'listview')
|
||||||
|
{
|
||||||
|
app.classes.calendar.views.listview.etemplates[0].widgetContainer.getWidgetById('nm').refresh(_id,_type);
|
||||||
|
}
|
||||||
switch(_app)
|
switch(_app)
|
||||||
{
|
{
|
||||||
case 'infolog':
|
case 'infolog':
|
||||||
|
Loading…
Reference in New Issue
Block a user