Increase default of recently tracked documents

Increase the default value of recently added documents
and recently accessed documents from 40 to 400.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-04-13 22:44:31 -04:00
parent c0f51103d2
commit 94b9db7f27
3 changed files with 6 additions and 3 deletions

View File

@@ -46,6 +46,8 @@
* Remove queryset slicing hack from the Document list view.
And slice the Recently Added Document queryset itself.
* Move stub filtering to the Document model manager.
* Increase the default number of recently added documents and
recently accessed documents from 40 to 400.
3.1.11 (2019-04-XX)
===================

View File

@@ -70,7 +70,8 @@ Other changes
* Remove queryset slicing hack from the Document list view.
And slice the Recently Added Document queryset itself.
* Move stub filtering to the Document model manager.
* Increase the default number of recently added documents and
recently accessed documents from 40 to 400.
Removals
--------

View File

@@ -100,14 +100,14 @@ setting_print_width = namespace.add_setting(
global_name='DOCUMENTS_PRINT_WIDTH', default='3600'
)
setting_recent_access_count = namespace.add_setting(
global_name='DOCUMENTS_RECENT_ACCESS_COUNT', default=40,
global_name='DOCUMENTS_RECENT_ACCESS_COUNT', default=400,
help_text=_(
'Maximum number of recently accessed (created, edited, viewed) '
'documents to remember per user.'
)
)
setting_recent_added_count = namespace.add_setting(
global_name='DOCUMENTS_RECENT_ADDED_COUNT', default=40,
global_name='DOCUMENTS_RECENT_ADDED_COUNT', default=400,
help_text=_(
'Maximum number of recently created documents to show.'
)