[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
Tue, 2 Oct 2007 11:59:09 +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





------- Additional Comments From sebastia@l00-bugdead-prods.de  2007-10-02 11:47 -------
>From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) SUSE

Description of problem:
It would be nice to be able to save searches just like it is possible for Persons and Enterprises.

The search should get a name, and create an optional tab, if the user wants to have a tab.

The search should be saved in the users defaults, just like it is done for the person or enterprise searches. below an example for the 
project_custom_qualifier:

    "project_custom_qualifiers" = {
        10890 = {
            PDF = {
                qualifier = "NSFileName caseInsensitiveLike '*.pdf'";
                showTab = 1;
            };
            test = {
                qualifier = "NSFileSubject caseInsensitiveLike '*test*'";
                showTab = 1;
            };
            test2 = {
                qualifier = "NSFileSubject caseInsensitiveLike '*test*'";
                showTab = 1;
            };
            txt = {
                qualifier = "NSFileName caseInsensitiveLike '*.txt'";
                showTab = 1;
            };
        };
        21660 = {
            txt = {
                maxSearchCount = 100;
                qualifier = "file_type='txt'";
                showTab = 1;
            };
        };
        69640 = {
            txt = {
                maxSearchCount = 100;
                qualifier = "file_type='txt'";
                showTab = 1;
            };
        };
    };




Version-Release number of selected component (if applicable):
all

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
    

Additional info:

------- Additional Comments From sebastia@l00-bugdead-prods.de  2007-10-02 11:59 -------
Created an attachment (id=575)
 --> (http://bugzilla.opengroupware.org/bugzilla/attachment.cgi?id=575&action=view)
patch with some things working

This patch already does the following:
allow creation of default: project_custom_qualifier
allow reading of default and creation of custom tabs
remove button to remove custom tabs

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