mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 07:13:02 +00:00 
			
		
		
		
	Fix modal path id for calibre db filepicker
Fix SyncToken last-Book-id missing
This commit is contained in:
		| @@ -144,6 +144,8 @@ class SyncToken: | ||||
|         except TypeError: | ||||
|             log.error("SyncToken timestamps don't parse to a datetime.") | ||||
|             return SyncToken(raw_kobo_store_token=raw_kobo_store_token) | ||||
|         except KeyError: | ||||
|             books_last_id = -1 | ||||
|  | ||||
|         return SyncToken( | ||||
|             raw_kobo_store_token=raw_kobo_store_token, | ||||
|   | ||||
| @@ -20,7 +20,7 @@ | ||||
|         <input type="text" class="form-control" id="config_calibre_dir" name="config_calibre_dir" value="{% if config.config_calibre_dir != None %}{{ config.config_calibre_dir }}{% endif %}" autocomplete="off"> | ||||
|        {% if filepicker %} | ||||
|         <span class="input-group-btn"> | ||||
|           <button type="button" data-toggle="modal" id="converter_modal_path" data-link="config_calibre_dir" data-filefilter="metadata.db" data-target="#fileModal" id="library_path" class="btn btn-default"><span class="glyphicon glyphicon-folder-open"></span></button> | ||||
|           <button type="button" data-toggle="modal" id="calibre_modal_path" data-link="config_calibre_dir" data-filefilter="metadata.db" data-target="#fileModal" id="library_path" class="btn btn-default"><span class="glyphicon glyphicon-folder-open"></span></button> | ||||
|         </span> | ||||
|        {% endif %} | ||||
|       </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ozzieisaacs
					Ozzieisaacs