headlines cache: force refresh when subop is present

This commit is contained in:
Andrew Dolgov 2007-11-21 13:29:41 +01:00
parent 52d7e7da48
commit 14fb4e91fc
4 changed files with 4 additions and 2 deletions

View File

@ -152,7 +152,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
var unread_ctr = document.getElementById("FEEDU-" + feed); var unread_ctr = document.getElementById("FEEDU-" + feed);
var cache_check = false; var cache_check = false;
if (unread_ctr && !page_offset && !force_nocache) { if (unread_ctr && !page_offset && !force_nocache && !subop) {
unread_ctr = unread_ctr.innerHTML; unread_ctr = unread_ctr.innerHTML;
var cache_prefix = ""; var cache_prefix = "";

View File

@ -2,7 +2,7 @@
require_once "functions.php"; require_once "functions.php";
define('EXPECTED_CONFIG_VERSION', 12); define('EXPECTED_CONFIG_VERSION', 12);
define('SCHEMA_VERSION', 26); define('SCHEMA_VERSION', 27);
if (!file_exists("config.php")) { if (!file_exists("config.php")) {
print __("<b>Fatal Error</b>: You forgot to copy print __("<b>Fatal Error</b>: You forgot to copy

View File

@ -76,6 +76,7 @@ create table ttrss_feeds (id integer not null auto_increment primary key,
include_in_digest boolean not null default true, include_in_digest boolean not null default true,
cache_images boolean not null default false, cache_images boolean not null default false,
auth_pass_encrypted boolean not null default false, auth_pass_encrypted boolean not null default false,
last_viewed datetime default null,
index(owner_uid), index(owner_uid),
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE, foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE,
index(cat_id), index(cat_id),

View File

@ -68,6 +68,7 @@ create table ttrss_feeds (id serial not null primary key,
include_in_digest boolean not null default true, include_in_digest boolean not null default true,
rtl_content boolean not null default false, rtl_content boolean not null default false,
cache_images 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); auth_pass_encrypted boolean not null default false);
create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid); create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid);