[OGo-Bugs][Bug 1919] Enhancement: add possibility to create custom tabs in WebUI of project based on document search

bugs@opengroupware.org bugs@opengroupware.org
Fri, 2 May 2008 22:16:46 +0200 (CEST)


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1919


sebastia@l00-bugdead-prods.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #575 is|0                           |1
           obsolete|                            |




------- Additional Comments From sebastia@l00-bugdead-prods.de  2007-10-03 18:06 -------
Created an attachment (id=576)
 --> (http://bugzilla.opengroupware.org/bugzilla/attachment.cgi?id=576&action=view)
updated patch, with more things working

Updated patch will be appended, the patch now does the following:
- allow save of searches (works)
- allow creation of custom tabs (works)
- allow load of saved searches (works)
- updated OGoProject.strings for German and English languages
- clicking on custom tab then showing  search results for tab (not working)
- added BOOL showForm to SkyProject4DocumentSearch.m to allow hiding of form
  on customTabs (works)
- still ugly form layout ;)
- maybe lots of memory management issues in the objc code

The Default "project_custom_qualifiers" is created and used like this:

    "project_custom_qualifiers" = {
	10890 = {      // projectId
	    dan = {    // search title
		maxSearchCount = 100;	  // max search count
		qualifier = "(NSFileSubject caseInsensitiveLike '*deploy*' AND
NSFileName caseInsensitiveLike '*.txt')";  // search qualifier
		qualifierOperator = AND;   // search qualifier operator
		searchFields = {	   // search fields to restore the
search
		    extension = txt;
		    title = deploy;
		};
		showTab = 1;		  // bool whether to create custom tab
for search or not
	    };
	    dor = {
		maxSearchCount = 100;
		qualifier = "(NSFileSubject caseInsensitiveLike '*deploy*' OR
NSFileName caseInsensitiveLike '*.txt')";
		qualifierOperator = OR;
		searchFields = {
		    extension = txt;
		    title = deploy;
		};
		showTab = 1;
	    };
	};


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.