mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Default PAPERLESS_NUMBER_OF_SUGGESTED_DATES to 3
This commit is contained in:
		| @@ -742,18 +742,17 @@ PAPERLESS_FILENAME_DATE_ORDER=<format> | |||||||
|     Defaults to none, which disables this feature. |     Defaults to none, which disables this feature. | ||||||
|  |  | ||||||
| PAPERLESS_NUMBER_OF_SUGGESTED_DATES=<num> | PAPERLESS_NUMBER_OF_SUGGESTED_DATES=<num> | ||||||
|     Paperless will search the entire document for any date. The first date found will |     Paperless searches an entire document for dates. The first date found will | ||||||
|     be used as a default value for the created date. With this setting in place, |     be used as the initial value for the created date. When this variable is | ||||||
|     paperless will suggestion other dates found in the document. |     greater than 0 (or left to it's default value), paperless will also suggest | ||||||
|  |     other dates found in the document, up to a maximum of this setting. Note that | ||||||
|  |     duplicates will be removed, which can result in fewer dates displayed in the | ||||||
|  |     frontend than this setting value. | ||||||
|  |  | ||||||
|     Regarding the size of the document, the task to find all dates can consuming much time. |     The task to find all dates can be time-consuming and increases with a higher | ||||||
|     Therefore the number of found dates can be limited with this setting. |     (maximum) number of suggested dates and slower hardware. | ||||||
|  |  | ||||||
|     If 10 dates should be suggested, paperless will grab every date from the top of the |     Defaults to 3. Set to 0 to disable this feature. | ||||||
|     document to the bottom until it has reached 10 dates. After this, duplicates will |  | ||||||
|     be removed, which can lead to less than 10 dates displayed in the frontend. |  | ||||||
|  |  | ||||||
|     Set the number to 0 to disable this feature (default) |  | ||||||
|  |  | ||||||
| PAPERLESS_THUMBNAIL_FONT_NAME=<filename> | PAPERLESS_THUMBNAIL_FONT_NAME=<filename> | ||||||
|     Paperless creates thumbnails for plain text files by rendering the content |     Paperless creates thumbnails for plain text files by rendering the content | ||||||
|   | |||||||
| @@ -588,10 +588,9 @@ POST_CONSUME_SCRIPT = os.getenv("PAPERLESS_POST_CONSUME_SCRIPT") | |||||||
| DATE_ORDER = os.getenv("PAPERLESS_DATE_ORDER", "DMY") | DATE_ORDER = os.getenv("PAPERLESS_DATE_ORDER", "DMY") | ||||||
| FILENAME_DATE_ORDER = os.getenv("PAPERLESS_FILENAME_DATE_ORDER") | FILENAME_DATE_ORDER = os.getenv("PAPERLESS_FILENAME_DATE_ORDER") | ||||||
|  |  | ||||||
| # Number of dates used as suggestions in the frontend | # Maximum number of dates taken from document start to end to show as suggestions for | ||||||
| # The number counter from top to bottom. | # `created` date in the frontend. Duplicates are removed, which can result in fewer dates shown. | ||||||
| # Duplicates will be removed, which will result in less shown suggestion dates. | NUMBER_OF_SUGGESTED_DATES = __get_int("PAPERLESS_NUMBER_OF_SUGGESTED_DATES", 3) | ||||||
| NUMBER_OF_SUGGESTED_DATES = __get_int("PAPERLESS_NUMBER_OF_SUGGESTED_DATES", 0) |  | ||||||
|  |  | ||||||
| # Transformations applied before filename parsing | # Transformations applied before filename parsing | ||||||
| FILENAME_PARSE_TRANSFORMS = [] | FILENAME_PARSE_TRANSFORMS = [] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon