ywana-core8 0.0.311 → 0.0.312

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.311",
3
+ "version": "0.0.312",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -220,8 +220,10 @@ const TableQueries = (props) => {
220
220
  const [selected, setSelected] = useState()
221
221
 
222
222
  function select(query) {
223
+ console.log("TableQueries.select", query)
223
224
  setSelected(query.id)
224
225
  pageContext.changeFilters(query.filters)
226
+ setPageContext(Object.assign({}, pageContext))
225
227
  }
226
228
 
227
229
  async function remove(id) {
@@ -532,6 +534,7 @@ const TableContext = (url, field, host, urlQuery) => {
532
534
  },
533
535
 
534
536
  changeFilters(filters) {
537
+ console.log("TableContext.changeFilters", filters)
535
538
  this.filters = filters
536
539
  },
537
540