Tags:
create new tag
view all tags

Question

We recently installed the latest TWiki 4.1.2 version (we used to be back on TWiki 3.x). All of our SEARCHes which used to display totals (i.e. "Number of topics: nn") now do NOT display these totals. The text line "Number of topics: nn" is entirely missing.

These are formatted searches (generally producing tables) which do not use nototals="on", and which in TWiki 3.x DID display the totals. I've been looking through all the documentation, bug reports, help, etc., and NOTHING mentions this problem. I do not see any new preference variables controlling this default.

Example: On our system (and this one) the following search does not show Number of Topics (below):

|*Web*|*Topic*|
%SEARCH{ "." topic="%TOPIC%" nosearch="on" nosummary="on" format="| $web | $topic |" }%

Web Topic
Support WhySearchTotalsMissing
Number of topics: 1

(Note the blank lines right after the table where a "Number of Topics" would have been displayed!)

Does anyone have any idea what may be going on here? ....and how we can repair this?
(There is no plugin to even try and upgrade in this case.)

Thank you for any ideas you can offer!

Environment

-- StevenElliot - 23 Jul 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Let's see. Here's a search for StevenElliot in this web:

Searched: StevenElliot

Results from Support web retrieved at 00:43 (GMT)

Question Our users would like to be able to `check in` and `check out` documents stored on our TWiki pages as attachments. I cannot see a way to do this but I am...
Question On ANY version of TWiki (even latest is fine) is there a way to display a `counter` on a page that shows the number of times that page has been viewed?...
Question We recently installed the latest TWiki 4.1.2 version (we used to be back on TWiki 3.x). All of our SEARCHes which used to display totals (i.e. `Number of...
Number of topics: 3

As you can see: "Number of Topics: 4"

I'm afraid you are going to have to be a bit more specific - for example, you could paste the actual SEARCH you are performing here (this site is running 4.1.2, I believe)

-- CrawfordCurrie - 24 Jul 2007

Thanks for your reply here. Glad you asked me to include the SEARCH, since interestingly enough, the same change in function shows up here. I went back to our old TWiki 3.x system (WIKIVERSION: 02 Sep 2004 $Rev: 1742 $) and verified that the same SEARCH above shows the total, but here in TWiki 4.1.2, it does not. If the function did indeed change (as it appears), is there a way we can force those SEARCHES to show the total??? (e.g. total = "on" ???)

Thanks again!

-- StevenElliot - 24 Jul 2007

diff.gif
does look suspicious, doesn't it?

-- FranzJosefGigler - 25 Jul 2007

OK, well, here's a FASCINATING new piece of information! ..... Apparently the "skin" plays a part in this. Notice how the totals magically show up if you view this page using the "plain" skin: https://twiki.org/cgi-bin/view/Support/WhySearchTotalsMissing?skin=plain

      missingSearchTotalsSnap1.jpg

Anyone have any ideas on why a skin might or might not affect display of SEARCH totals???
Again, something must have changed in this area between TWiki 3 and TWiki 4.

Thanks again!

-- StevenElliot - 27 Jul 2007

Known problem which should be fixed in 4.2.0 when we release that.

The issue was in the pattern skin and was resolved by a total rewrite of some javascript so we cannot pinpoint to a quick fix.

See Bugs:Item3949

-- KennethLavrsen - 28 Jul 2007

Change status to:

Topic attachments
I Attachment History Action Size Date Who Comment
GIFgif diff.gif r1 manage 8.6 K 2007-07-25 - 19:11 UnknownUser  
JPEGjpg missingSearchTotalsSnap1.jpg r1 manage 24.0 K 2007-07-27 - 15:20 UnknownUser  
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-07-28 - KennethLavrsen
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.