Commit Graph

64 Commits

Author SHA1 Message Date
Henning Bostelmann a2a1a58683 MDL-55575 mod_glossary: Allow viewing all entries on one page 2016-12-13 11:43:29 +01:00
Frederic Massart 70d20d0893 MDL-49231 mod_glossary: Update view and print to use new lib functions 2015-12-31 15:18:39 +01:00
John Okely 4b793ed78b MDL-44560 mod_glossary: Fix indentation in mod/glossary/sql.php 2015-01-16 11:49:48 +08:00
John Okely 6fe5646a29 MDL-44560 glossary: Fix pagination on glossary category view
Credit to Sebastian B for this fix
2015-01-16 11:10:31 +08:00
Jenny Gray f8b3cd4bdf MDL-44021 mod_glossary - fixed search multiple keywords sql duplicate parameter error 2014-04-01 09:34:06 +01:00
Marina Glancy ceeb8102cd MDL-42912 glossary: oracle-compatibility of SQL queries 2013-11-15 11:36:11 +11:00
Petr Škoda 2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Eloy Lafuente (stronk7) a06900b5b2 MDL-25655 glossary: non full searches now working.
In the process of updting the module from 1.9 to
2.0 the (non) full search feature was lost without notice.

This restitutes it with the same behavior present in 1.9:

- fullsearch disabled: look into concepts and aliases.
- fullsearch enabled (default): look also into definitions.
2013-03-16 18:04:57 +01:00
Petr Skoda f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Petr Skoda cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Eloy Lafuente (stronk7) 418b3b6e98 MDL-26414 gloosary - fix wrong init introduced by MDL-26371 2011-02-15 10:53:23 +01:00
Eloy Lafuente (stronk7) b37d06c2ed MDL-26371 sql - avoid distinct + text in glossary search 2011-02-12 17:05:32 +01:00
Petr Skoda 568d0b6de0 MDL-24869 fixed incorrect string location 2010-10-26 17:46:57 +00:00
Petr Skoda 4758639429 MDL-24080 converting remaining NOT LIKEs 2010-09-04 14:52:47 +00:00
Petr Skoda e99cfeb83f MDL-24079 glossary now using new sql_like 2010-09-04 14:15:48 +00:00
Andrew Davis eaed2fd163 ajax MDL-22286 removed references to the previous version of the JS function openpopup() 2010-05-05 02:05:58 +00:00
Petr Skoda 4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Petr Skoda 86342d631f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:03:10 +00:00
Petr Skoda 1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
skodak 655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
skodak ae8c356614 MDL-15109 glossary dml conversion 2008-06-08 10:43:39 +00:00
stronk7 572889f194 Fix a problem with glossary not being able to sort by firstname.
Merged from MOODLE_18_STABLE
2007-03-24 00:58:43 +00:00
stronk7 a4bad45c2c Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:32:19 +00:00
skodak 810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
stronk7 6f4bdb9c9b Prevent +/- operators (REGEXP) on glossary searches for MSSQL and Oracle. MDL-7312
Merged from MOODLE_17_STABLE
2006-10-31 20:34:12 +00:00
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