headlines cache: force refresh when subop is present
This commit is contained in:
parent
52d7e7da48
commit
14fb4e91fc
4 changed files with 4 additions and 2 deletions
|
@ -152,7 +152,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
|
|||
var unread_ctr = document.getElementById("FEEDU-" + feed);
|
||||
var cache_check = false;
|
||||
|
||||
if (unread_ctr && !page_offset && !force_nocache) {
|
||||
if (unread_ctr && !page_offset && !force_nocache && !subop) {
|
||||
unread_ctr = unread_ctr.innerHTML;
|
||||
|
||||
var cache_prefix = "";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
require_once "functions.php";
|
||||
|
||||
define('EXPECTED_CONFIG_VERSION', 12);
|
||||
define('SCHEMA_VERSION', 26);
|
||||
define('SCHEMA_VERSION', 27);
|
||||
|
||||
if (!file_exists("config.php")) {
|
||||
print __("<b>Fatal Error</b>: You forgot to copy
|
||||
|
|
|
@ -76,6 +76,7 @@ create table ttrss_feeds (id integer not null auto_increment primary key,
|
|||
include_in_digest boolean not null default true,
|
||||
cache_images boolean not null default false,
|
||||
auth_pass_encrypted boolean not null default false,
|
||||
last_viewed datetime default null,
|
||||
index(owner_uid),
|
||||
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE,
|
||||
index(cat_id),
|
||||
|
|
|
@ -68,6 +68,7 @@ create table ttrss_feeds (id serial not null primary key,
|
|||
include_in_digest boolean not null default true,
|
||||
rtl_content boolean not null default false,
|
||||
cache_images boolean not null default false,
|
||||
last_viewed timestamp default null,
|
||||
auth_pass_encrypted boolean not null default false);
|
||||
|
||||
create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid);
|
||||
|
|
Loading…
Reference in a new issue