Skip to content

Commit 6e3bc21

Browse files
committed
Syntax fix
1 parent f9cc8ce commit 6e3bc21

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎source/devapi/search.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ To define join parameters, you can use one or more of the following:
336336
OR NEWTABLE.`id` = REFTABLE.`#fk_for_new_table#_2`
337337

338338
.. _search_joinparams_condition:
339+
339340
``condition``
340341

341342
Additional condition to add to the standard link.

‎source/plugins/tutorial.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2592,7 +2592,7 @@ With these classes, we can build a dashboard that will display cards on its grid
25922592
A card is a combination of a widget, a data provider, a place on grid and various options (like a background colour for example).
25932593

25942594
Completing existing concepts
2595-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2595+
----------------------------
25962596

25972597
From your plugin, you can complete these concepts with your own data and code.
25982598

@@ -2745,7 +2745,7 @@ A few explanations on those methods:
27452745
* ``cardBigNumberProvider()``: provider and expected return example when grid will display card.
27462746

27472747
Display your own dashboard
2748-
~~~~~~~~~~~~~~~~~~~~~~~~~~
2748+
--------------------------
27492749

27502750
GLPI dashboards system is modular and you can use it in your own displays.
27512751

‎source/upgradeguides/glpi-11.0.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ If you were using the second syntax, you will need to replace as follows:
7979
- $iterator = $DB->request('mytable', ['field' => 'condition']);
8080
+ $iterator = $DB->request(['FROM' => 'mytable', 'WHERE' => ['field' => 'condition']]);
8181
82-
Using raw SQL queries must be replaced with query builder call, among other to prevent syntax issues, and SQL injections; please refer to :doc:devapi/database/dbiterator.
82+
Using raw SQL queries must be replaced with query builder call, among other to prevent syntax issues, and SQL injections; please refer to :doc:`../devapi/database/dbiterator`.
8383

8484
Changes related to web requests handling
8585
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)