Tags:
create new tag
view all tags

Question

Whenever I use the EDITCELL button to update categorization of a support question, it causes the question to come up as the result of any search, not just a search on the selected category. As near as I can tell, this is because the %EDITCELL{checkbox, 4, Platform, Hosting, Installation, Htaccess, Permissions, Registration, Authentication, Security, Authorisation, Version control, Forms, Search, Javascript, System logs, Statistics, Missing functionality, Performance, Fatal error, Documentation, Contributing code, Contributing time, Paid help, Deployment, Internationalisation, Localisation, Browser issue, Plugins, Add-Ons, Skin, Mail}% variable pulls the actual categories upon save, which are then read as selected categories. Is there any way around this?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: Windows XP
Web Browser: Firefox 2.0
Categories: Search

-- TWikiGuest - 16 Nov 2006

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.

The EDITCELL uses a %SUPPORTCATEGORIES% preferences setting. There is a known issue that the EditTablePlugin expands variables of cell types other than label, e.g. %SUPPORTCATEGORIES% gets expanded. That is once you edit/save the table you get the expanded category list, hence a search will show a hit for an item even if not selected. A proper fix is to fix the EditTablePlugin.

-- PeterThoeny - 17 Nov 2006

As a workaround for you own application you can avoid the EDITCELL and use an EDITTABLE{ format="" } instead.

-- PeterThoeny - 17 Nov 2006

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-11-17 - PeterThoeny
 
  • 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.