Commit Graph

9 Commits

Author SHA1 Message Date
Herbert Saal Gutierrez
273dff4745 BUG 9180 Correct display priority in cases lists
Code Issue
----------
A number is display in the Priority column in the cases lists instead of the
priority in text.

Solution
--------
Correct display of priority column in cases lists.
The text that describes the priority is display instead of the priority number.
The number is converted to the corresponding text with the help of the function
G::LoadTranslation("ID_PRIORITY_N");
2012-06-18 17:58:14 -04:00
Herbert Saal Gutierrez
0a95770cf1 BUG 9180 Replace json_decode function by G::json_decode
Replace json_decode function by G::json_decode to support PHP
versions without json support configured.
2012-05-31 11:34:52 -04:00
Herbert Saal Gutierrez
01d65b3ff1 BUG 9180 Correct coding convention
Correct coding convention and replace json_encode to G::json_encode and
json_decode to G::json_decode
2012-05-30 17:47:28 -04:00
Herbert Saal Gutierrez
5cf35c71d9 BUG 9180 Correct Solr update and counters implementation
The following changes were made:
- fix update Solr index process
- implement casesenuLoader using Solr server to display counters
- fix cron missing reference to system class
- add function and classes documentation
2012-05-29 17:07:53 -04:00
Herbert Saal Gutierrez
2070917313 BUG 0000 Correct format date without hour for php 5.2 support
Correct format date without hour for php 5.2 support
2012-05-16 15:45:32 -04:00
Herbert Saal Gutierrez
fc2f25d2ba BUG 0000 Replace date_create_from_format function for Php 5.2 support
Replace date_create_from_format function with temporal solution for
Php 5.2 support
2012-05-16 15:45:32 -04:00
Herbert Saal Gutierrez
920d4908bf BUG 0000 Support for php 5.2 in Solr implementation
Add support for php 5.2 in Solr implementation:
- Exception function has two parameters
- use of function call_user_func
2012-05-16 15:45:32 -04:00
Herbert Saal Gutierrez
7e07db9348 BUG 0000 Change Solr configuration environment variables
Now the Solr configuration variables are read from the env.ini file that
is stored in the shared//sites/SYS_SYS/ folder.

The system class is used to get the environment variables using the
solrenv function.
2012-05-15 17:41:12 -04:00
Erik Amaru Ortiz
1a8545df8a BUG 0000 herbert> SOLR implementation in PMOS2
Solr support in PMOS2 includes:
Functionality:
- Implementation of Home views (Inbox, Draft, Participated, Unassigned). The views return fast results.
- Include read, unread, all,  and process filter in inbox View.
- Include process filter in draft view.
- Include started by me, completed by me, all, process, and status filter in participated view.
- Include process filter in unassigned view.
- Improved search functionality (search in user defined variables): Use the following syntax to search in process (user defined) variables. {variable_name}:{search_word} ex1:"causal:20*" where causal is the variable defined by the user.
  + Use of wildcards in search: Use * as wildcard at the begin or end of word
  + Multiple conditions in search: Separate multiple conditions by space ex2:"Materiales causal:20*" means that we are searching for the word Materiales and the causal that begin with 20.
  + Search in dates (interval ): Format=> {variable_date}:[yyyy-mm-dd TO yyyy-mm-dd]
    Local date not UTC date required
    ex: FechaRegistro:[2011-04-15 TO 2011-04-30] //registros con fecha entre el 2011-04-15 y el 2011-04-30.
  + we can use the wildcard *:
    ex: FechaRegistro:[* TO 2011-04-30] //registros con fecha menor o igual a 2011-04-30.
    FechaRegistro:[2011-04-15 TO *] //registros con fecha mayor o igual a 2011-04-15.
  + Search of exact phrases. format: {variable}:"frase a buscar"
    ex: Cliente:"Jesus Marin"

- Application update function.
	+ The function is called every time a change is detected in the application's data including the related delegations.
- Use of cache to improve performance

Not included:
- Order of task, sent by, and due date columns.

Pending:
- Advanced search view using faceted lists.
2012-05-15 10:56:48 -04:00