Commit Graph

25 Commits

Author SHA1 Message Date
jygaulier
774394d976 Update LegacyRecordRepository.php
fix typo
2021-12-02 10:02:56 +01:00
jygaulier
12cb9b582b PHRAS-3584
add databox.record.cover_record_id
add get/set coverRecordId() to record adapter
include cover_record_id to api results (V1 & V3)
2021-11-25 11:52:11 +01:00
aina esokia
ee104bf032 PHRAS-3331 fix story ordering 2021-01-14 14:03:12 +03:00
jygaulier
7020caea83 - fix : total children count is now 0 for empty stories
- fix : creating permalinks (create_many) on twice the same record is handled.
2020-11-10 17:38:55 +01:00
jygaulier
e79f2cb4f2 add:
- multiple pagination methods
- "include" parameter in /search route :
-- facets : facets are no more returned by default
-- results.stories.children : to populate the children of stories
- "story_children_limit" parameter in /search route
  will limit the number of children populated by story
- "count" (for results) and "children_count" (for stories in results) is the number of items in the current page
- "total" (for results) and "children_total" (for stories in results) is the total number of items

todo: swagger doc (but impossible to describe related/excluded parameters (like pagination methods in /search)
2020-09-22 21:30:19 +02:00
jygaulier
f9fa3e0802 - add : doc of stories/children
- fix : limiting the number of children with search stories (story_max_records=N in url) respects coll/mask rights
2020-09-17 18:57:13 +02:00
Nicolas Maillat
6afc40ef3b Merge branch 'master' into PHRAS-2196-api-stories-pagination 2019-12-12 12:56:48 +01:00
Nicolas Maillat
a43d073c8a Merge branch 'master' into PHRAS-2840-exclure-collection-quarantaine 2019-12-12 12:10:35 +01:00
aynsix
48f78698cc resolve conflict 2019-12-12 14:33:37 +04:00
aynsix
5a703f207a fix record order in story 2019-12-12 12:13:56 +04:00
aynsix
8eb6ae5dfa change variable name 2019-12-11 18:18:30 +04:00
aynsix
9ac196784a change sql params form 2019-12-11 12:41:43 +04:00
aynsix
1c0b1db9c7 exlu collection in quarantaine when upload 2019-12-11 11:48:23 +04:00
aynsix
c9356ec206 max_items depends on header application/vnd.phraseanet.story-paginate 2019-11-28 18:15:55 +04:00
aina-esokia
b407a17bdf change query 2018-10-26 18:01:31 +04:00
aina-esokia
415b0fcc27 update 2018-10-24 16:12:56 +04:00
aina-esokia
103b8f7265 fix requete pagination 2018-10-24 15:36:06 +04:00
aina-esokia
5281bafe95 fix api search pagination story 2018-10-23 18:11:21 +04:00
aina-esokia
e9beafef85 add max_item and page in api route search and stories 2018-10-11 14:26:36 +04:00
Benoît Burnichon
3abb34a702 Fixup error in reordering of elements 2016-05-11 17:50:57 +02:00
Benoît Burnichon
8e693964df Refactor getChildren() and get_grouping_parents() 2016-05-11 17:50:57 +02:00
Benoît Burnichon
1e18b3e69f This is a combination of 33 commits.
- Squashed Pull request #1730
- Squashed Pull request #1741
- Squashed Pull request #1742
- Squash merge branch 4.0
- Squashed Pull request #1744
- Squashed Pull request #1746
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed Pull request #1758
- Avoid using imagine/imagine alias as it is causing install issues
- Squashed merge branch 4.0
- Squashed Pull request #1763
- Squashed merge branch 4.0
- Squash of 6 commits
- Squashed merge branch 4.0
- This is a combination of 2 commits.
- Squashed Pull request #1775
- Squashed Pull request #1777
- Squashed Pull request #1779
- Squashed Pull request #1780
- Squashed Pull request #1782
- Adds a Pull request template
- Squased Pull request #1783
- Squash Pull request #1786
- Squashed Pull request #1796
- Squashed merge branch 4.0
- Squash Pull request #1791
- Squashed merge branch 4.0
- Squashed Pull request #1808
- Squashed Pull request #1811
- Squashed Pull request #1809
2016-04-20 16:22:14 +02:00
Benoît Burnichon
51023c5533 bump copyright year 2016-01-05 13:38:14 +01:00
Benoît Burnichon
699cae0b7a Add RecordRepository method to look for several Record at once 2015-12-22 14:25:13 +01:00
Benoît Burnichon
e8d4d5f38d Record_adapter now uses a specific repository from databox 2015-07-15 11:26:13 +02:00