39 Commits

Author SHA1 Message Date
stronk7
8451166cfb Fixing display of pivots when they are author names
Merged from MOODLE_17_STABLE
2006-10-30 19:32:44 +00:00
stronk7
e24d96baf6 Fixing some queries with duplicate column names. MDL-7294
Merged from MOODLE_17_STABLE
2006-10-30 19:02:58 +00:00
stronk7
2cb3ab13f7 Now glossary is using the proper sql_substr() function
Merged from MOODLE_17_STABLE
2006-10-30 18:34:21 +00:00
stronk7
0db568393d Now lcase() and ucase() are out from glossary 2006-10-30 18:01:10 +00:00
stronk7
a91960b30f sql_as() is deprecated. Column aliases ALWAYS must use the AS keyword.
Merged from MOODLE_17_STABLE
2006-10-30 17:46:37 +00:00
toyomoyo
1d4d001cfd merged fix for MDL-7267, fixing keywords pivot 2006-10-30 03:38:13 +00:00
stronk7
0217757b09 DeLIMITing Moodle core. Now the new $limitfrom,
$limitnum parameters are used instead. MDL-7168

Merged from MOODLE_17_STABLE
2006-10-24 22:00:29 +00:00
martinlanghoff
a8f4522dfa data, forum, glossary: use sql_ilike() for a portable LIKE operator 2006-09-26 05:08:18 +00:00
martinlanghoff
d2715c70b6 mod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()
Cleaned up several dbtype conditionals too.
2006-09-26 05:06:44 +00:00
vyshane
7949f21b5f Removed 'mod/glossary:view' capability 2006-09-22 02:52:48 +00:00
stronk7
6b4b356f82 Using the standard sql_as() function, although it could be not used. 2006-09-04 22:42:56 +00:00
skodak
86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
skodak
afda6b5681 Bug #6087 - alphabetic problem in glossary; merged from MOODLE_16_STABLE 2006-07-12 20:29:18 +00:00
skodak
54eca8f2a4 proper initialisation of sqlsortkey SC#258; merged from MOODLE_16_STABLE 2006-05-21 07:42:58 +00:00
stronk7
c356bb409d Suppress pivot output from Date view. It hasn't too much sense there. 2006-04-09 11:06:19 +00:00
stronk7
0fd4f40714 Now both empty search strings and 1 letter search strings works fine in
the glossary. Terms are hilighted properly (but 1 letter terms, because
it's a hilight limitation). Bug 4274.
(http://moodle.org/bugs/bug.php?op=show&bugid=4274)

Merged from MOODLE_15_STABLE
2005-11-06 20:06:05 +00:00
stronk7
74a278553b Now glossary searches are full searches (like 1.4 forums). 2005-04-19 00:14:36 +00:00
stronk7
69baafdea7 Now search function look into aliases too.
Bug 2242
(http://moodle.org/bugs/bug.php?op=show&bugid=2242)

Merged from MOODLE_14_STABLE
2004-12-11 00:54:37 +00:00
stronk7
1c144d0eed Changed some parameters. SC#33.
Merged from MOODLE_14_STABLE
2004-11-28 23:54:11 +00:00
mjollnir_
56e9c38161 Merged from MOODLE_14_STABLE: Fix for postgres-invalid-sql (must have AS between field and alias) 2004-11-24 23:24:32 +00:00
paca70
67db6177de Some fixes for postgresql 2004-10-22 17:03:37 +00:00
stronk7
4db75a5cb2 Merged quotes from MOODLE_14_STABLE 2004-09-28 23:20:13 +00:00
stronk7
539f698d73 Important changes about how view.php (and print.php) retrieve records
from BD to be displayed. Some SQL statements have been modified to
get target records, avoiding a lot of post-processing causing some
bugs like Bug 1912
(http://moodle.org/bugs/bug.php?op=show&bugid=1912)

Merged from MOODLE_14_STABLE
2004-09-09 18:31:50 +00:00
stronk7
f79bfd2d2b Now entries are showed correctly in categories view if they belong
to multiple categories.

Bug 1903
(http://moodle.org/bugs/bug.php?op=show&bugid=1903)

Merged from MOODLE_14_STABLE
2004-09-06 07:54:52 +00:00
gustav_delius
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
stronk7
a359c29b79 Bulk changes to support plugin-formats in glossaries.
See the TODO.txt to get details about pending tasks.
The db upgrade should work fine (not tested under postgresql).
The plugin architecture is finished too.
See Bug 936.
(http://moodle.org/bugs/bug.php?op=show&bugid=936)
2004-07-27 17:19:47 +00:00
stronk7
6e66130338 In 'categories view' (all and only one), now attachements, edit, comment
and delete are working properly. Thanks to frank@nomios.de!!
See bug 1632
(http://moodle.org/bugs/bug.php?op=show&bugid=1632)

Merged from MOODLE_13_STABLE
2004-07-12 16:35:50 +00:00
stronk7
43d2c51413 Avoid one more notice... 2004-05-20 23:07:59 +00:00
stronk7
165278015e Solve some notice with debug = on.
Thanks to skodak. Bug 1405.
(http://moodle.org/bugs/bug.php?op=show&bugid=1405)
2004-05-20 19:51:23 +00:00
stronk7
5cca249645 Reverted to revision 1.8 (left join) to continue working in bug 985. 2004-05-14 17:23:42 +00:00
stronk7
00f7f08d6b Now the show=concept|alias
has been decoupled into 2 sql statements to make it works
under every MySQL version.
Hope this close Bug 985 forever...
2004-05-13 19:27:52 +00:00
stronk7
189bec8895 Bug 1296 solved.
Now duplicate entries are showed in all the lists. Simply I've changed
the fields order in select statements to make entryid (unique) the first.

Not detected negative consequences...ciao :-)
http://moodle.org/bugs/bug.php?op=show&bugid=1296
2004-05-12 20:39:34 +00:00
stronk7
465e3ae35d Solved bug 985. Now "show" will work with aliases and with concepts
with and without aliases. Changed the cuery to a left join to
be able to process entries without aliases. This type of operation
should be changed to boolean queries sometime in MySQL 4!!
Test it!!
http://moodle.org/bugs/bug.php?op=show&bugid=985
2004-05-12 18:44:15 +00:00
willcast
c9128b637b - Dealing with incompatibilities related to posgresql. 2004-02-21 13:21:35 +00:00
willcast
a5e48d968d - Fixing come incompatilities with PostgreSQL.
THANKS TO ULRIK PETERSON!
2004-02-21 13:05:38 +00:00
willcast
ae07873330 - Removing some Notices.. Thanks to Eloy for leting me know! 2003-11-21 03:33:21 +00:00
willcast
db87439af3 - Fixing minor bugs... Nothing related with the problems the glossary is presenting right now in moodle.org... :( 2003-11-21 02:50:08 +00:00
willcast
b6862360af - Case sensitive search when click on a letter, fixed.
- Adding a display format manager. It controls the behavior of the display format when the user enter the glossary and when an auto-link is shown.
- Adding support to the new fullname function.
2003-11-19 17:47:40 +00:00
willcast
4f3e59c3a2 - Improved printer-friendly version
- Cosmetic change in the main view of a glossary.
2003-11-18 13:49:31 +00:00